execution_context#

tradeexecutor.strategy.execution_context Python module in Trading Strategy framework.

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 hvae.