#include <OnixS/CME/MDH/TradeOrderIds.h>
Definition at line 34 of file TradeOrderIds.h.
◆ TradeOrderDetails() [1/3]
Constructs details with a zero order identifier and quantity.
◆ TradeOrderDetails() [2/3]
template<class Entry>
| TradeOrderDetails |
( |
const Entry & | entry | ) |
|
|
inlineexplicit |
Constructs details from an order-related market data entry.
- Template Parameters
-
- Parameters
-
| entry | Entry whose order identifier and executed quantity are copied. |
- Exceptions
-
| Any | exception thrown while obtaining or converting the entry attributes. |
Definition at line 45 of file TradeOrderIds.h.
◆ TradeOrderDetails() [3/3]
Constructs details with the specified order identifier and executed quantity.
- Parameters
-
| orderId | Identifier of the order involved in the trade. |
| lastQty | Quantity executed for the order by the trade. |
Definition at line 54 of file TradeOrderIds.h.
◆ lastQty()
Gets the quantity executed for the order by the trade.
- Returns
- Executed quantity, or zero for default-constructed details.
Definition at line 71 of file TradeOrderIds.h.
◆ orderId()
Gets the identifier of the order involved in the trade.
- Returns
- Order identifier, or zero for default-constructed details.
Definition at line 63 of file TradeOrderIds.h.