Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
quote_event.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <type_traits>
6
7namespace slick::trader {
8
9// QuoteEvent - POD struct for lock-free queue
10#pragma pack(push, 1)
24#pragma pack(pop)
25
26static_assert(std::is_trivially_copyable_v<QuoteEvent>, "QuoteEvent must be trivially copyable");
27
28} // namespace slick::trader
int64_t qty_t
Definition types.hpp:17
int64_t price_t
Definition types.hpp:16
Event(EventType t=EventType::TRADE)
Definition event.hpp:63