#include <SpotMarketTrade.h>
Public Types | |
| enum | |
Public Member Functions | |
| SpotMarketTrade () | |
| SpotMarketTrade (const char *data, std::size_t dataSize) | |
| void | deserialize (const char *data, std::size_t dataSize) |
| void | reset () |
| std::string | toString () const |
Public Attributes | |
| MarketId | marketId |
| TradeId | tradeId |
| Price | price |
| int | quantity |
| DateTime | transactDateTime |
| DateTime | deliveryBeginDateTime |
| DateTime | deliveryEndDateTime |
| bool | isSystemPricedLeg |
Definition at line 35 of file SpotMarketTrade.h.
| anonymous enum |
| SpotMarketTrade | ( | ) |
Default constructor.
| SpotMarketTrade | ( | const char * | data, |
| std::size_t | dataSize ) |
Initialize from raw message data.
| void deserialize | ( | const char * | data, |
| std::size_t | dataSize ) |
Deserialize from raw data.
| void reset | ( | ) |
Reset all fields to default values.
| std::string toString | ( | ) | const |
Returns string representation.
| DateTime deliveryBeginDateTime |
Delivery begin date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 61 of file SpotMarketTrade.h.
| DateTime deliveryEndDateTime |
Delivery end date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 65 of file SpotMarketTrade.h.
| bool isSystemPricedLeg |
Indicate if it is a system priced leg.
Definition at line 68 of file SpotMarketTrade.h.
| MarketId marketId |
MarketID of the instrument that was traded.
Definition at line 44 of file SpotMarketTrade.h.
| Price price |
Price of the trade. DealPriceDenominator for the market should be applied to get the real price.
Definition at line 51 of file SpotMarketTrade.h.
| int quantity |
Trade quantity.
Definition at line 54 of file SpotMarketTrade.h.
| TradeId tradeId |
Unique identifier of the trade message, unique per market.
Definition at line 47 of file SpotMarketTrade.h.
| DateTime transactDateTime |
Deal date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 57 of file SpotMarketTrade.h.