[Fix]Close #881
This commit is contained in:
parent
ef1ef110a9
commit
893d8d21ac
@ -36,7 +36,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
currentTime = dt.time()
|
currentTime = dt.time()
|
||||||
|
|
||||||
if currentTime >= START_TIME and currentTime <= CLOSE_TIME:
|
if currentTime >= START_TIME or currentTime <= CLOSE_TIME:
|
||||||
le.info(u'当前处于交易时间段')
|
le.info(u'当前处于交易时间段')
|
||||||
|
|
||||||
if not pTrading:
|
if not pTrading:
|
||||||
|
Loading…
Reference in New Issue
Block a user