-
-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Description
I am trying to use DXLinkStreamer to download historical data. My code looks something like this:
session = Session(...)
# Download last week's 5m candles on current /ES future
start_time = datetime(2025, 1, 6)
end_time = datetime(2025, 1, 10)
future = Future.get_future(session, "/ESH5")
async with DXLinkStreamer(session) as streamer:
await streamer.subscribe_candle([future.streamer_symbol], '5m', start_time, end_time=end_time, extended_trading_hours=True)
async for candle in streamer.listen(Candle):
print(candle.model_dump())When I run this, I am met with tastytrade.utils.TastytradeError: End time no longer supported. The tastytrade api supports historical candles as documented here. Is historical data not yet implemented in this wrapper?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels