Subtract duration instead of passing to `.subtract()` (facepalm)

clears_table_events
Tyler Goodlet 2022-09-30 10:05:11 -04:00
parent 74910ba56c
commit eb743759a4
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ async def get_bars(
log.warning(
f'History is blank for {dt_duration} from {end_dt}'
)
end_dt = end_dt.subtract(dt_duration)
end_dt -= dt_duration
continue
if bars_array is None: