|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/brokers/common/order_book_publisher.hpp>
Public Types | |
| enum class | Action : uint8_t { ADD , CHANGE , REMOVE } |
Public Attributes | |
| uint64_t | order_id = 0 |
| uint64_t | priority = 0 |
| Action | action = Action::ADD |
| Side | side = Side::BUY |
| Side | prev_side = Side::BUY |
| int64_t | price = 0 |
| int64_t | prev_price = 0 |
| int64_t | qty = 0 |
| int64_t | prev_qty = 0 |
| uint64_t | event_time = 0 |
Definition at line 25 of file order_book_publisher.hpp.
|
strong |
| Enumerator | |
|---|---|
| ADD | |
| CHANGE | |
| REMOVE | |
Definition at line 26 of file order_book_publisher.hpp.
| Action slick::trader::BookOrderChange::action = Action::ADD |
Definition at line 30 of file order_book_publisher.hpp.
| uint64_t slick::trader::BookOrderChange::event_time = 0 |
Definition at line 37 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
| uint64_t slick::trader::BookOrderChange::order_id = 0 |
Definition at line 28 of file order_book_publisher.hpp.
| int64_t slick::trader::BookOrderChange::prev_price = 0 |
Definition at line 34 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
| int64_t slick::trader::BookOrderChange::prev_qty = 0 |
Definition at line 36 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
Definition at line 32 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
| int64_t slick::trader::BookOrderChange::price = 0 |
Definition at line 33 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
| uint64_t slick::trader::BookOrderChange::priority = 0 |
Definition at line 29 of file order_book_publisher.hpp.
| int64_t slick::trader::BookOrderChange::qty = 0 |
Definition at line 35 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().
Definition at line 31 of file order_book_publisher.hpp.
Referenced by slick::trader::OrderBookPublisher< Derived, Instrument, Sink, Key >::apply_order().