|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/events/order_book_event.hpp>
Public Member Functions | |
| OrderBookEvent () | |
| Public Member Functions inherited from slick::trader::Event | |
| Event (EventType t=EventType::TRADE) | |
| void | set_instrument (std::string_view instr) |
Public Attributes | |
| OrderBookPriceLevel | bids [MAX_ORDER_BOOK_LEVELS] |
| OrderBookPriceLevel | asks [MAX_ORDER_BOOK_LEVELS] |
| uint16_t | num_bids |
| uint16_t | num_asks |
| uint64_t | sequence_num |
| bool | is_snapshot |
| Public Attributes inherited from slick::trader::Event | |
| EventType | type |
| uint64_t | timestamp_ns |
| uint64_t | event_time_ns |
| BrokerId | broker_id |
| char | instrument [MAX_INSTRUMENT_LENGTH] |
Definition at line 21 of file order_book_event.hpp.
|
inline |
Definition at line 29 of file order_book_event.hpp.
References slick::trader::Event::Event(), asks, bids, is_snapshot, num_asks, num_bids, and sequence_num.
| OrderBookPriceLevel slick::trader::OrderBookEvent::asks[MAX_ORDER_BOOK_LEVELS] |
Definition at line 23 of file order_book_event.hpp.
Referenced by OrderBookEvent().
| OrderBookPriceLevel slick::trader::OrderBookEvent::bids[MAX_ORDER_BOOK_LEVELS] |
Definition at line 22 of file order_book_event.hpp.
Referenced by OrderBookEvent().
| bool slick::trader::OrderBookEvent::is_snapshot |
Definition at line 27 of file order_book_event.hpp.
Referenced by OrderBookEvent().
| uint16_t slick::trader::OrderBookEvent::num_asks |
Definition at line 25 of file order_book_event.hpp.
Referenced by OrderBookEvent().
| uint16_t slick::trader::OrderBookEvent::num_bids |
Definition at line 24 of file order_book_event.hpp.
Referenced by OrderBookEvent().
| uint64_t slick::trader::OrderBookEvent::sequence_num |
Definition at line 26 of file order_book_event.hpp.
Referenced by OrderBookEvent().