assert_stable_warmup

forge.testingfunctionSince Forge API 1
Signaturepython
forge.testing.assert_stable_warmup(strategy: str | os.PathLike[str] | type[Strategy],bars: SampleBars | pd.DataFrame | None = None,params: Mapping[str, Any] | None = None,**kwargs: Any) -> None

Fail unless every output of the strategy is stable at its declared warm-up.

Parameters

NameTypeDefault
strategystr | os.PathLike[str] | type[Strategy]
barsSampleBars | pd.DataFrame | NoneNone
paramsMapping[str, Any] | NoneNone
**kwargsAny

The failure names each flagged output with the note that says what to change. An inconclusive check fails too, with its reason. The arguments are those of check_warmup.