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) -> NoneFail unless every output of the strategy is stable at its declared warm-up.
Parameters
| Name | Type | Default |
|---|---|---|
| strategy | str | os.PathLike[str] | type[Strategy] | |
| bars | SampleBars | pd.DataFrame | None | None |
| params | Mapping[str, Any] | None | None |
| **kwargs | Any |
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.