state#

API documentation for tradeexecutor.state.state Python module in Trading Strategy.

Module description#

Trade executor state.

The whole application date can be dumped and loaded as JSON.

Any datetime must be naive, without timezone, and is assumed to be UTC.

Classes#

BacktestData

Miscellaneous data needed to store only for the backtest state.

State

The current state of the trading strategy execution.