Skip to content

OptimizationPass.JsonReport

property · OptimizationPass · cAlgo.API Since 5.9

DesktopCLICloud

Gets the full per-pass backtest result as JSON.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

string JsonReport {get;}
optimizationPass.JsonReport: str

Returns string

Examples

Optimization.PassCompleted += args => Print("Pass {0} report length: {1}", args.Pass.Id, args.Pass.JsonReport?.Length);
api.Optimization.PassCompleted += lambda args: api.Print(f"Pass {args.Pass.Id} report: {args.Pass.JsonReport}")