Backtest
Documents API endpoints that relate to backtesting
Foundry environments only. Endpoints for fetching historical tick data, managing environment state, and replaying market data for backtesting algorithmic trading strategies.
These endpoints are only available in Foundry environments and will return errors in Trading environments. See Backtesting Your Algo with Own Container for usage guide.
Endpoints
History Fetch
Tick History (trades and/or quotes):
Start Tick History Fetch - Begin fetching tick history
Is Tick History Fetch Running - Check fetch status
Stop Tick History Fetch - Cancel ongoing fetch
Trade History (trades only):
Start Trade History Fetch - Begin fetching trade history
Is Trade History Fetch Running - Check fetch status
Stop Trade History Fetch - Cancel ongoing fetch
Quote History (quotes only):
Start Quote History Fetch - Begin fetching quote history
Is Quote History Fetch Running - Check fetch status
Stop Quote History Fetch - Cancel ongoing fetch
State Management
Reset State - Clear all backtest state across all datasets
Tick Replay
Start Tick History Replay - Begin replaying tick history
Is Tick Replay Running - Check replay status
Stop Tick History Replay - Stop ongoing replay
Last updated

