commit
9c5633fcf3
@ -85,9 +85,9 @@ def run_parent():
|
||||
|
||||
# Check whether in trading period
|
||||
if (
|
||||
(current_time >= DAY_START and current_time <= DAY_END) or
|
||||
(current_time >= NIGHT_START) or
|
||||
(current_time <= NIGHT_END)
|
||||
(current_time >= DAY_START and current_time <= DAY_END)
|
||||
or (current_time >= NIGHT_START)
|
||||
or (current_time <= NIGHT_END)
|
||||
):
|
||||
trading = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user