exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
orderbook.hpp File Reference
#include "order.hpp"
#include "trade.hpp"
#include "server/common/model/order_type.hpp"
#include "server/common/model/side.hpp"
#include "server/common/model/time_in_force.hpp"
#include "server/common/model/value_object/order_id.hpp"
#include "server/common/model/value_object/price.hpp"
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <optional>
#include <unordered_map>
#include <utility>
#include <vector>
Include dependency graph for orderbook.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  exchange::server::OrderBook
struct  exchange::server::OrderBook::AddOrderResult
struct  exchange::server::OrderBook::AmendOrderResult

Namespaces

namespace  exchange
namespace  exchange::server

Typedefs

using exchange::server::OrderBookMap = std::map<Price, std::list<Order>, std::function<bool(const Price &, const Price &)>>
using exchange::server::OrderLookupValue = std::pair<std::list<Order> *, std::list<Order>::iterator>