Skip to main content

Module invariants

Module invariants 

Source
Expand description

Cross-layer invariants for live execution tests.

Functions§

assert_filled_qty
Asserts the exact cumulative filled quantity of a cached order.
assert_in_own_book
Asserts whether an order is present in the instrument’s own order book.
assert_order_status
Asserts the exact status of a cached order.
assert_own_book_consistent
Asserts that every order retained in an own order book remains open in the cache.
assert_tracked_used_events
Asserts that a tracked lifecycle used typed order events and no reports.