assert_no_trade_between

forge.testingfunctionSince Forge API 1
Signaturepython
forge.testing.assert_no_trade_between(run: TestRun,start: int | str | pd.Timestamp,end: int | str | pd.Timestamp) -> None

No entry was filled from start to end, both included.

Parameters

NameType
runTestRun
startint | str | pd.Timestamp
endint | str | pd.Timestamp

start and end are both bars or both UTC times. The failure lists the entries inside.