|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/events/level2_update_event.hpp>
Public Member Functions | |
| Level2UpdateEvent () | |
| Public Member Functions inherited from slick::trader::Event | |
| Event (EventType t=EventType::TRADE) | |
| void | set_instrument (std::string_view instr) |
Public Attributes | |
| uint16_t | num_levels |
| uint64_t | sequence_num |
| bool | is_snapshot |
| PriceLevel | levels [0] |
| 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 23 of file level2_update_event.hpp.
|
inline |
Definition at line 29 of file level2_update_event.hpp.
References slick::trader::Event::Event(), is_snapshot, num_levels, and sequence_num.
| bool slick::trader::Level2UpdateEvent::is_snapshot |
Definition at line 26 of file level2_update_event.hpp.
Referenced by Level2UpdateEvent(), and slick::trader::Level2Book::apply().
| PriceLevel slick::trader::Level2UpdateEvent::levels[0] |
Definition at line 27 of file level2_update_event.hpp.
Referenced by slick::trader::Level2Book::apply().
| uint16_t slick::trader::Level2UpdateEvent::num_levels |
Definition at line 24 of file level2_update_event.hpp.
Referenced by Level2UpdateEvent(), and slick::trader::Level2Book::apply().
| uint64_t slick::trader::Level2UpdateEvent::sequence_num |
Definition at line 25 of file level2_update_event.hpp.
Referenced by Level2UpdateEvent().