Price Level representation. More...
Public Member Functions | |
PriceLevel () | |
Initialize default instance. | |
PriceLevel (Price price, int64 quantity, uint32 orderCount=0) | |
Initialize instance. More... | |
bool | operator== (const PriceLevel &p) const |
Compare between price levels. | |
bool | operator!= (const PriceLevel &p) const |
Compare between price levels. | |
std::string | toString () const |
String representation. | |
Public Attributes | |
Price | price |
Price. | |
int64 | quantity |
Quantity. | |
uint32 | orderCount |
Number of orders. | |
Price Level representation.
PriceLevel | ( | Price | price, |
int64 | quantity, | ||
uint32 | orderCount = 0 |
||
) |
Initialize instance.
[in] | price | The price of the price level. |
[in] | quantity | The total quantity of the price level. |
[in] | orderCount | Number of orders on the price level. Zero (0) when not applicable. |