Subtract duration instead of passing to `.subtract()` (facepalm)
parent
74910ba56c
commit
eb743759a4
|
@ -307,7 +307,7 @@ async def get_bars(
|
||||||
log.warning(
|
log.warning(
|
||||||
f'History is blank for {dt_duration} from {end_dt}'
|
f'History is blank for {dt_duration} from {end_dt}'
|
||||||
)
|
)
|
||||||
end_dt = end_dt.subtract(dt_duration)
|
end_dt -= dt_duration
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if bars_array is None:
|
if bars_array is None:
|
||||||
|
|
Loading…
Reference in New Issue