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