|
Leka
A low-latency C++20 price-time-priority limit order book and matching engine
|
Payload for shrinking a resting order without losing priority. More...
#include <order_event.hpp>
Public Attributes | |
| OrderId | orderId |
| Identifier of the order to shrink. | |
| Quantity | newQuantity |
| Replacement remaining quantity; nonzero and not above the current one. | |
Payload for shrinking a resting order without losing priority.
The price cannot change, so the order never moves between levels and keeps its FIFO position. A reduction to zero is a cancellation and must be sent as CancelOrder instead.
Definition at line 64 of file order_event.hpp.
| OrderId lob::ReduceOrder::orderId |
Identifier of the order to shrink.
Definition at line 66 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().
| Quantity lob::ReduceOrder::newQuantity |
Replacement remaining quantity; nonzero and not above the current one.
Definition at line 68 of file order_event.hpp.
Referenced by lob::MatchingEngine::processEvent().