CompilationExtensions

StockSharp.Algo.Compilation

Provides extension methods and helpers for dynamic compilation and Python integration in StockSharp Studio.

Methods

Init
public static Task Init(IFileSystem fileSystem, ILogReceiver logs, IEnumerable<ValueTuple<string, string>> extraPythonCommon, CancellationToken cancellationToken)
result = CompilationExtensions.Init(fileSystem, logs, extraPythonCommon, cancellationToken)

Initializes the compilation environment, including Python engine setup, resource extraction, and compiler registration.

fileSystem
File system.
logs
The log receiver for output and error messages.
extraPythonCommon
Additional Python common files to include.
cancellationToken
A cancellation token for async operations.