|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/web/level2_book.hpp>
Public Member Functions | |
| void | apply (const Level2UpdateEvent &event) |
| template<typename F> | |
| void | for_each (F &&f) const |
| size_t | size () const noexcept |
| BrokerId | broker () const noexcept |
| uint64_t | event_time_ns () const noexcept |
| uint64_t | sequence_num () const noexcept |
Static Public Attributes | |
| static constexpr uint16_t | MERGE_FROM = 64 |
Definition at line 29 of file level2_book.hpp.
|
inline |
Definition at line 34 of file level2_book.hpp.
References slick::trader::BUY, slick::trader::Level2UpdateEvent::is_snapshot, slick::trader::Level2UpdateEvent::levels, MERGE_FROM, slick::trader::Level2UpdateEvent::num_levels, slick::trader::SELL, and slick::trader::PriceLevel::side.
Referenced by slick::trader::Level2Streams< Client >::apply().
|
inlinenoexcept |
Definition at line 75 of file level2_book.hpp.
|
inlinenoexcept |
Definition at line 76 of file level2_book.hpp.
|
inline |
Definition at line 65 of file level2_book.hpp.
References slick::trader::BUY, and slick::trader::SELL.
|
inlinenoexcept |
Definition at line 77 of file level2_book.hpp.
|
inlinenoexcept |
Definition at line 74 of file level2_book.hpp.
|
staticconstexpr |
Definition at line 32 of file level2_book.hpp.
Referenced by apply().