BacktestLogicPublicService

Public service for backtest orchestration with context management.

Wraps BacktestLogicPrivateService with MethodContextService to provide implicit context propagation for strategyName, exchangeName, and frameName.

This allows getCandles(), getSignal(), and other functions to work without explicit context parameters.

constructor();
loggerService: any
backtestLogicPrivateService: any
run: (symbol: string, context: { strategyName: string; exchangeName: string; frameName: string; }) => AsyncGenerator<IStrategyBacktestResult, void, unknown>

Runs backtest for a symbol with context propagation.

Streams closed signals as async generator. Context is automatically injected into all framework functions called during iteration.