Skip to main content

market_data_history_without_schedule

Function market_data_history_without_schedule 

Source
pub async fn market_data_history_without_schedule<M: MarketDataSource + InstrumentSource + ?Sized>(
    md: &M,
    id: &InstrumentId,
    tf: Timeframe,
    candle_range: TimeRange,
)
Expand description

The tape, candles and trading status of one instrument: market_data_history without the schedule, for a broker whose API has no timetable of sessions (its schedule answers Unsupported, which this scenario does not call).

§Panics

With [conformance:market_data_history] <reason> when a call fails or a check of market_data_history (the first three) fails.