execution_context#

tradeexecutor.strategy.execution_context module.

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.