|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
#include <fastmm/venues/order_commands.hpp>
Public Member Functions | |
| Cycles | t0_cycles () const noexcept |
| Receive stamp of the inbound event that triggered the order (0 when none, e.g. timers). | |
Static Public Member Functions | |
| static std::optional< OrderCommand > | from (const EventHeader &h) noexcept |
| nullopt for any non-outbound message type. | |
Public Attributes | |
| OrderCommandKind | kind = OrderCommandKind::New |
| InstrumentId | instrument {} |
| VenueId | venue {} |
| ClientOrderId | cl_ord_id {} |
| New: the order; Cancel: order to cancel; Replace: new id. | |
| ClientOrderId | orig_cl_ord_id {} |
| Replace only. | |
| const VenueOrderId * | venue_order_id = nullptr |
| Cancel/Replace: may be empty. | |
| Side | side = Side::Buy |
| OrderType | type = OrderType::Limit |
| TimeInForce | tif = TimeInForce::Gtc |
| bool | reduce_only = false |
| Price | price {} |
| Qty | qty {} |
| const EventHeader * | header = nullptr |
|
inlinenoexcept |
Receive stamp of the inbound event that triggered the order (0 when none, e.g. timers).
|
inlinestaticnoexcept |
nullopt for any non-outbound message type.
| OrderCommandKind fastmm::venues::OrderCommand::kind = OrderCommandKind::New |
| InstrumentId fastmm::venues::OrderCommand::instrument {} |
| VenueId fastmm::venues::OrderCommand::venue {} |
| ClientOrderId fastmm::venues::OrderCommand::cl_ord_id {} |
New: the order; Cancel: order to cancel; Replace: new id.
| ClientOrderId fastmm::venues::OrderCommand::orig_cl_ord_id {} |
Replace only.
| const VenueOrderId* fastmm::venues::OrderCommand::venue_order_id = nullptr |
Cancel/Replace: may be empty.
| OrderType fastmm::venues::OrderCommand::type = OrderType::Limit |
| TimeInForce fastmm::venues::OrderCommand::tif = TimeInForce::Gtc |
| bool fastmm::venues::OrderCommand::reduce_only = false |
| Price fastmm::venues::OrderCommand::price {} |
| Qty fastmm::venues::OrderCommand::qty {} |
| const EventHeader* fastmm::venues::OrderCommand::header = nullptr |