CBOE Emulator  1.0
Public Member Functions | Public Attributes | List of all members
DataFeed::LOB::Order Struct Reference

A single order in the LimitOrderBook. More...

#include <structures.hpp>

Inheritance diagram for DataFeed::LOB::Order:

Public Member Functions

 Order ()
 Initialize a new order data.
 
 Order (UID uid_, Side side_, Quantity quantity_, Price price_)
 Initialize a new order data. More...
 

Public Attributes

const UID uid = 0
 the day-unique ID for this particular order
 
const Side side = Side::Sell
 a boolean determining whether the order id a buy (true) or sell (false)
 
Quantity quantity = 0
 the number of shares in the order
 
const Price price = 0
 the limit price for the order (market price if market order)
 
Limitlimit = nullptr
 the limit this order falls under
 

Detailed Description

A single order in the LimitOrderBook.

Constructor & Destructor Documentation

◆ Order()

DataFeed::LOB::Order::Order ( UID  uid_,
Side  side_,
Quantity  quantity_,
Price  price_ 
)
inline

Initialize a new order data.

Parameters
uid_the unique identifier for the order
side_the side of the order: buy=true, sell=false
quantity_the number of shares to buy or sell
price_the limit/market price for the order

The documentation for this struct was generated from the following file: