Reset State
Resets the entire Foundry environment by clearing out all prior backtest state across all datasets. This must be done before starting a new backtest replay to ensure a clean state. This method is only available in Foundry environments and will return an error in Trading environments. The typical backtest workflow is: 1) Fetch tick history, 2) Clear state, 3) Start replay.
Responses
200
The successful response indicates the state has been cleared successfully
application/json
500
Indicates that the state could not be cleared
application/json
post
/datafye-api/v1/backtest/state/clearNo content
Last updated

