MCPcopy Create free account
hub / github.com/Open-Quant/openquant / summarize_pipeline

Function summarize_pipeline

python/openquant/pipeline.py:107–125  ·  view source on GitHub ↗

Tabular summary for quick notebook inspection.

(out: dict[str, object])

Source from the content-addressed store, hash-verified

105 close: Sequence[float],
106 model_probabilities: Sequence[float],
107 asset_prices: Sequence[Sequence[float]],
108 model_sides: Sequence[float] | None = None,
109 asset_names: Sequence[str] | None = None,
110 cusum_threshold: float = 0.001,
111 num_classes: int = 2,
112 step_size: float = 0.1,
113 risk_free_rate: float = 0.0,
114 confidence_level: float = 0.05,
115 periods_per_year: float | None = None,
116) -> dict[str, Any]:
117 """Run the pipeline and enrich output with polars DataFrames.
118
119 Takes the same parameters as `run_mid_frequency_pipeline`, including the default
120 ``periods_per_year=None`` that derives the annualisation factor from ``timestamps``.
121 """
122 out = run_mid_frequency_pipeline(
123 timestamps=timestamps,
124 close=close,
125 model_probabilities=model_probabilities,
126 asset_prices=asset_prices,
127 model_sides=model_sides,
128 asset_names=asset_names,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected