|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/brokers/common/order_event_writer.hpp>
Public Member Functions | |
| OrderEventWriter (BrokerId broker) noexcept | |
| void | open (slick::stream_buffer_multiplexer &mux, const nlohmann::json &config) |
| bool | is_open () const noexcept |
| void | register_connector (slick::queue< uint8_t > &control_queue, const FeeStructure &fees) const |
| template<typename E> | |
| void | publish (const E &event) |
| void | replay (const FillJournal &journal, std::string_view who) |
| BrokerId | broker () const noexcept |
Definition at line 22 of file order_event_writer.hpp.
|
inlineexplicitnoexcept |
Definition at line 24 of file order_event_writer.hpp.
References broker().
|
inlinenodiscardnoexcept |
Definition at line 67 of file order_event_writer.hpp.
Referenced by OrderEventWriter().
|
inlinenodiscardnoexcept |
Definition at line 34 of file order_event_writer.hpp.
|
inline |
Definition at line 28 of file order_event_writer.hpp.
References slick::trader::order_producer_id().
|
inline |
Definition at line 48 of file order_event_writer.hpp.
References slick::trader::EventSerializer::publish().
Referenced by replay().
|
inline |
Definition at line 37 of file order_event_writer.hpp.
References slick::trader::order_producer_id(), slick::trader::EventSerializer::publish(), and slick::trader::set_shm_name().
|
inline |
Definition at line 54 of file order_event_writer.hpp.
References slick::trader::FillJournal::fills(), publish(), and slick::trader::FillJournal::size().