ib.feed: better no-bars error-log message format

qt_w_graceful_SIGINT
Tyler Goodlet 2025-10-02 20:52:01 -04:00
parent c6afe7125e
commit 3df1308b77
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ async def open_history_client(
# could be trying to retreive bars over weekend
if out is None:
log.error(f"Can't grab bars starting at {end_dt}!?!?")
log.error(
f"No bars starting at {end_dt!r} !?!?"
)
if (
end_dt
and head_dt