26 #include "../Enumerations.h" 27 #include "../Export.h" 33 namespace OnixS {
namespace ICE {
namespace iMpact {
namespace MarketData {
36 struct ONIXS_ICEMDH_EXPORT
Trade 101 Trade(
const char* data, std::size_t dataSize);
104 void deserialize(
const char* data, std::size_t dataSize);
110 std::string toString()
const;
114 ONIXS_ICEMDH_EXPORT std::ostream&
operator<<(std::ostream&,
const Trade&);
bool isImpliedSpreadAtMarketOpen
OffMarketTradeType::Enum offMarketTradeType
TradeExtraFlags::Enum extraFlags
Extra flags.
long long Price
Alias for order identifiers type.
This class represents the Trade Message.
Enum
Known types of system priced legs.
Enum
Known types of block trade.
int MarketId
Alias for market identifiers type.
std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
int quantity
Trade quantity.
bool isSystemPricedLeg
Indicate if it is a system priced leg.
DateTime transactDateTime
Deal date time. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
TradeId tradeId
Unique identifier of the trade message, unique per market.
SystemPricedLegType::Enum systemPricedLegType
Indicates type of system priced leg.
Enum
Aggressor side constants.
AggressorSide::Enum aggressorSide
Used to identify which side of a trade the aggressor was on.
long long TradeId
Alias for order identifiers type.
DateTime requestTradingEngineReceivedTimestamp
MarketId marketId
MarketID of the instrument that was traded.
bool isAdjustedTrade
Indicate if the trade is an adjusted trade.
long long DateTime
Represents the number of nanoseconds since Jan 1st, 1970, 00:00:00 GMT.