Reset State

Clear backtest state in the Foundry environment (Foundry only).

post

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
post
/datafye-api/v1/backtest/state/clear

No content

Last updated