Skip to main content

executions_history_is_complete

Function executions_history_is_complete 

Source
pub async fn executions_history_is_complete<U: ExecutionSource + ?Sized>(
    ud: &U,
    expected: usize,
)
Expand description

The history of own trades is complete: expected trades come back, none is dropped or doubled.

The test has put expected trades in the mock (more than one page of the broker’s list). Checks: executions(all time) returns exactly expected entries, with expected different trade ids.

§Panics

With [conformance:executions_history_is_complete] <reason>.