exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
order.hpp
Go to the documentation of this file.
1#pragma once
6
7namespace exchange::server
8{
9
13struct Order
14{
15 const OrderId id;
20
21 [[nodiscard]] Quantity remainingQuantity() const noexcept
22 {
24 }
25};
26} // namespace exchange::server
Definition main.hpp:4
Side
Definition side.hpp:7
Definition order_id.hpp:10
Definition order.hpp:14
const OrderId id
Definition order.hpp:15
Price price
Definition order.hpp:16
Quantity filledQuantity
Definition order.hpp:18
Side side
Definition order.hpp:19
Quantity remainingQuantity() const noexcept
Definition order.hpp:21
Quantity totalQuantity
Definition order.hpp:17
Definition price.hpp:10
Definition quantity.hpp:9