Slick Sim 0.10.1
Exchange simulator that shadows real venues for risk-free strategy testing
Loading...
Searching...
No Matches
market_events.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <common/order.hpp>
5#include <common/types.hpp>
6#include <cstdint>
7
8namespace slick::sim::exch {
9
37
47
48} // namespace slick::sim::exch
Helpers for a venue whose one config entry describes several independent exchange instances,...
Definition exchange.hpp:30
int_fast64_t qty_t
Definition types.hpp:22
int_fast64_t price_t
Definition types.hpp:21
One of the venue's own orders entering, changing or leaving the book, from an order-by-order feed,...
uint64_t book_order_id
The simulator's id for this order, from utils::nextOrderId(), so it can never collide with a client o...
bool requeue
On CHANGE: the order lost its place, and book_priority is a new one.
price_t price
The price it rests at.
qty_t qty
Remaining visible quantity, 0 on DELETE.
uint64_t book_priority
The order's place in its level's queue: drawn from OrderBook::nextOrderPriority() when it joined,...
One trade the venue reports, with the side that crossed the spread.