exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
orderbook_asserts.hpp File Reference
#include "orderbook.hpp"
#include "server/common/model/side.hpp"
#include <utility>
#include <vector>
Include dependency graph for orderbook_asserts.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  exchange
namespace  exchange::server

Functions

void exchange::server::assertOrderBookInvariants (const OrderBook &orderBook, bool onlyOrderBookAsserts=false)
void exchange::server::assertRestingOrderInvariants (const Order &order, Side bookSide, Price priceLevel)
void exchange::server::assertMatchingInvariants (const Order &aggressor, Quantity aggressorFilledQuantity, std::vector< std::pair< Trade, Order > > tradeRestingPairs)