Leka
A low-latency C++20 price-time-priority limit order book and matching engine
Replay viewer
Loading...
Searching...
No Matches
order_type.hpp
1// include/lob/order/order_type.hpp
2#ifndef ORDER_TYPE_HPP
3#define ORDER_TYPE_HPP
4
5namespace lob {
6/** @brief Execution and resting behavior requested for an order. */
7enum class OrderType {
8 /** Executes immediately when crossing, then may rest if supported. */
9 LIMIT,
10 /** Executes against available liquidity and never rests in OrderBook. */
11 MARKET
12};
13} // namespace lob
14
15#endif