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

ib_1m_hist
Tyler Goodlet 2022-09-30 10:05:11 -04:00
parent a11f20fac2
commit 55dc27a197
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: