Skip to main content

backtestDataAvailability

Reports whether the data lake has every OHLCV (and futures-only funding-rate / mark-price) file the given prospective backtest input would need. Returns the same MarketDataAvailability shape as marketDataAvailability (ready, pendingCount, failedCount, lastUpdated, readyFiles).

Wraps backtest.AvailabilityForRequirements — the read-only counterpart to the create-time guard backtest.CheckDataAvailability. Drawer calls this on input change and gates the submit button on result.ready, so users no longer click "Run" only to receive "market data not available — N file(s)" from the create mutation.

Returns ready=true with no missing files when the input has not yet supplied a strategy / pairs / timeframe — the gate falls open while the form is still being filled out.

backtestDataAvailability(
input: CreateBacktestInput!
): MarketDataAvailability!

Arguments

backtestDataAvailability.input ● CreateBacktestInput! non-null input

Type

MarketDataAvailability object

Readiness summary for a set of market data file references.