Private service for live trading orchestration using async generators.
Flow:
Features:
constructor();
loggerService: any
strategyGlobalService: any
methodContextService: any
run(symbol: string): AsyncGenerator<IStrategyTickResultOpened | IStrategyTickResultClosed, void, unknown>;
Runs live trading for a symbol, streaming results as async generator.
Infinite generator that yields opened and closed signals. Process can crash and restart - state will be recovered from disk.