|
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
|
A venue changed an instrument's trading rules or trading status while the session ran (EventType::InstrumentRules): the connector read them again (venues/instrument_rules.hpp) and found them different from the last it reported. More...
#include <fastmm/core/messages.hpp>
Public Attributes | |
| EventHeader | hdr |
| Price | tick |
| 64 | |
| Qty | lot |
| 72 | |
| Qty | min_qty |
| 80 | |
| Qty | max_qty |
| 88 | |
| Notional | min_notional |
| 96 | |
| Notional | max_notional |
| 104 | |
| TradingStatus | status |
| 112 | |
| std::uint8_t | changed |
| 113 | |
| std::uint8_t | cause |
| 114 | |
| std::uint8_t | pad_ [13] |
| -> 128 | |
Static Public Attributes | |
| static constexpr std::uint8_t | kTick = 1U << 0 |
| static constexpr std::uint8_t | kLot = 1U << 1 |
| static constexpr std::uint8_t | kMinQty = 1U << 2 |
| static constexpr std::uint8_t | kMaxQty = 1U << 3 |
| static constexpr std::uint8_t | kMinNotional = 1U << 4 |
| static constexpr std::uint8_t | kMaxNotional = 1U << 5 |
| static constexpr std::uint8_t | kStatus = 1U << 6 |
| static constexpr std::uint8_t | kRefresh = 0 |
| static constexpr std::uint8_t | kRefusal = 1 |
A venue changed an instrument's trading rules or trading status while the session ran (EventType::InstrumentRules): the connector read them again (venues/instrument_rules.hpp) and found them different from the last it reported.
It rides the order ring, which drops nothing, and the journal, so a replay changes the rules at the same engine time. changed names the fields that differ; the engine takes those and leaves the rest of the instrument as it is, so a field the session kept from its configuration ([venues.<name>] rules_mismatch = "warn") stays until the venue changes it. A zero max_qty or max_notional is no limit, as in Instrument. cause kRefresh: the periodic read; kRefusal: a read after the venue refused an order for its rules or status
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
| EventHeader fastmm::InstrumentRulesMsg::hdr |
| Price fastmm::InstrumentRulesMsg::tick |
64
| Qty fastmm::InstrumentRulesMsg::lot |
72
| Qty fastmm::InstrumentRulesMsg::min_qty |
80
| Qty fastmm::InstrumentRulesMsg::max_qty |
88
| Notional fastmm::InstrumentRulesMsg::min_notional |
96
| Notional fastmm::InstrumentRulesMsg::max_notional |
104
| TradingStatus fastmm::InstrumentRulesMsg::status |
112
| std::uint8_t fastmm::InstrumentRulesMsg::changed |
113
| std::uint8_t fastmm::InstrumentRulesMsg::cause |
114
| std::uint8_t fastmm::InstrumentRulesMsg::pad_[13] |
-> 128