Variable MethodContextServiceConst

MethodContextService: new () => { context: IMethodContext } & Omit<
    new (context: IMethodContext) => { context: IMethodContext },
    "prototype",
> & di_scoped.IScopedClassRun<[context: IMethodContext]>

Scoped service for method context propagation.

Uses di-scoped for implicit context passing without explicit parameters. Context includes strategyName, exchangeName, and frameName.

Used by PublicServices to inject schema names into ConnectionServices.

MethodContextService.runAsyncIterator(
backtestGenerator,
{
strategyName: "my-strategy",
exchangeName: "my-exchange",
frameName: "1d-backtest"
}
);