This commit is contained in:
vn.py 2018-05-21 12:06:12 +08:00
parent ef1ef110a9
commit 893d8d21ac

View File

@ -36,7 +36,7 @@ if __name__ == '__main__':
currentTime = dt.time()
if currentTime >= START_TIME and currentTime <= CLOSE_TIME:
if currentTime >= START_TIME or currentTime <= CLOSE_TIME:
le.info(u'当前处于交易时间段')
if not pTrading: