|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/events/instrument_status_event.hpp>
Public Member Functions | |
| InstrumentStatusEvent () | |
| void | set_reason (std::string_view text) |
| Public Member Functions inherited from slick::trader::Event | |
| Event (EventType t=EventType::TRADE) | |
| void | set_instrument (std::string_view instr) |
Public Attributes | |
| TradingStatus | status |
| bool | cancel_allowed |
| char | reason [MAX_STATUS_REASON_LENGTH] |
| 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 36 of file instrument_status_event.hpp.
|
inline |
Definition at line 41 of file instrument_status_event.hpp.
References slick::trader::Event::Event(), cancel_allowed, reason, status, and slick::trader::UNKNOWN.
|
inline |
Definition at line 48 of file instrument_status_event.hpp.
References slick::trader::MAX_STATUS_REASON_LENGTH, and reason.
Referenced by slick::trader::MdEventWriter::status().
| bool slick::trader::InstrumentStatusEvent::cancel_allowed |
Definition at line 38 of file instrument_status_event.hpp.
Referenced by InstrumentStatusEvent(), and slick::trader::MdEventWriter::status().
| char slick::trader::InstrumentStatusEvent::reason[MAX_STATUS_REASON_LENGTH] |
Definition at line 39 of file instrument_status_event.hpp.
Referenced by InstrumentStatusEvent(), and set_reason().
| TradingStatus slick::trader::InstrumentStatusEvent::status |
Definition at line 37 of file instrument_status_event.hpp.
Referenced by InstrumentStatusEvent(), and slick::trader::MdEventWriter::status().