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) -> NoneNo entry was filled from start to end, both included.
Parameters
| Name | Type |
|---|---|
| run | TestRun |
| start | int | str | pd.Timestamp |
| end | int | str | pd.Timestamp |
start and end are both bars or both UTC times. The failure lists the entries inside.