|
ITCHCPP 1.6.0
High-Performance NASDAQ TotalView-ITCH 5.0 Parser & Market-Data Platform
|
Represents a specific price node in the order book. More...
#include <order_book.hpp>
Public Member Functions | |
| auto | add_order (const std::shared_ptr< Order > &order) -> void |
| Appends an order to the end of the queue (Time priority). | |
| auto | remove_order (const OrderIt &order_it) -> void |
| Removes a specific order from the queue. | |
Public Attributes | |
| uint32_t | total_shares {0} |
| Aggregate volume of shares at this price. | |
| std::list< std::shared_ptr< Order > > | orders |
| FIFO queue of orders. | |
Represents a specific price node in the order book.
Maintains a queue of orders at a specific price, enforcing Time-Priority (FIFO) execution. It tracks the aggregate share volume for this level.
Definition at line 67 of file order_book.hpp.
| auto itch::PriceLevel::add_order | ( | const std::shared_ptr< Order > & | order | ) | -> void |
Appends an order to the end of the queue (Time priority).
| order | Shared pointer to the order to add. |
Definition at line 14 of file order_book.cpp.
| auto itch::PriceLevel::remove_order | ( | const OrderIt & | order_it | ) | -> void |
Removes a specific order from the queue.
| order_it | Iterator pointing to the order to remove. |
Definition at line 20 of file order_book.cpp.
| uint32_t itch::PriceLevel::total_shares {0} |
Aggregate volume of shares at this price.
Definition at line 68 of file order_book.hpp.
| std::list<std::shared_ptr<Order> > itch::PriceLevel::orders |
FIFO queue of orders.
Definition at line 69 of file order_book.hpp.