Public service for live trading orchestration with context management.
Wraps LiveLogicPrivateService with MethodContextService to provide implicit context propagation for strategyName and exchangeName.
This allows getCandles(), getSignal(), and other functions to work without explicit context parameters.
Features:
constructor();
loggerService: any
liveLogicPrivateService: any
run: (symbol: string, context: { strategyName: string; exchangeName: string; }) => AsyncGenerator<IStrategyTickResultOpened | IStrategyTickResultClosed, void, unknown>
Runs live trading for a symbol with context propagation.
Streams opened and closed signals as infinite async generator. Context is automatically injected into all framework functions. Process can crash and restart - state will be recovered from disk.