execution_context#

API documentation for tradeexecutor.strategy.execution_context Python module in Trading Strategy.

Module description#

Execution modes.

  • Are we doing live trading or backtesting

  • Any instrumentation like task duration tracing needed for the run

Classes#

ExecutionContext

Information about the strategy execution environment.

ExecutionMode

Different execution modes the strategy engine can handle.