28 namespace OnixS {
namespace ICE {
namespace iMpact {
namespace MarketData {
31 class OrderBookHolder;
57 int inImpliedQuantity = 0,
58 short inOrderCount = 0,
59 short inImpliedOrderCount = 0
62 , quantity(inQuantity)
63 , impliedQuantity(inImpliedQuantity)
64 , orderCount(inOrderCount)
65 , impliedOrderCount(inImpliedOrderCount)
71 struct ONIXS_ICEMDH_EXPORT
Order 105 int inSequenceWithinMillis = 0,
106 short inOrderSequenceId = 0,
107 bool inIsImplied =
false,
111 , entryDateTime(inEntryDateTime)
113 , quantity(inQuantity)
114 , sequenceWithinMillis(inSequenceWithinMillis)
115 , orderSequenceId(inOrderSequenceId)
116 , isImplied(inIsImplied)
133 std::size_t depth()
const;
142 const PriceLevelArray& bids()
const;
148 const PriceLevelArray& offers()
const;
154 const OrderArray& bidOrders()
const;
160 const OrderArray& offerOrders()
const;
163 std::string brief()
const;
166 void brief(std::string&)
const;
169 std::string toString()
const;
172 void toString(std::string&)
const;
182 friend class OrderBookHolder;
Rational price
Raw exchange price (fixed point).
/brief Defines data for single entry of full order depth book.
Defines data for single price level of order book.
Rational price
Raw exchange price (fixed point).
ArrayRef< const Order, std::size_t > OrderArray
bool isImplied
True if order is implied.
short orderSequenceId
Legacy order modification count.
short orderCount
Order count at price.
int sequenceWithinMillis
Sub-milliseconds ordering sequence.
OnixS::ICE::iMpact::MarketData::OrderId OrderId
OrderId orderId
Order ID unique for market.
int MarketId
Alias for market identifiers type.
std::string toString() const
String presentation of the book.
Rational number representation.
std::string brief() const
Returns brief book info.
int quantity
Total order quantity at price.
DateTime entryDateTime
Order entry date/time (milliseconds since 01-01-1970 00:00 GMT).
Book instance composing price level book and full order depth book.
bool isRFQ
True if order is Request For Quote.
PriceLevel(const Rational &inPrice=Rational(), int inQuantity=0, int inImpliedQuantity=0, short inOrderCount=0, short inImpliedOrderCount=0)
Constructor.
Order(OrderId inOrderId=OrderId(), const DateTime &inEntryDateTime=DateTime(), const Rational &inPrice=Rational(), int inQuantity=0, int inSequenceWithinMillis=0, short inOrderSequenceId=0, bool inIsImplied=false, bool inIsRFQ=false)
Constructor.
int impliedQuantity
Implied order quantity at price.
int quantity
Order quantity.
ArrayRef< const PriceLevel, std::size_t > PriceLevelArray
short impliedOrderCount
Implied order count at price.
long long OrderId
Alias for order identifiers type.
long long DateTime
Represents the number of nanoseconds since Jan 1st, 1970, 00:00:00 GMT.