Tools¶
HasRequestCompleted¶
-
inline constexpr bool roq::utils::has_request_completed(RequestStatus request_status)¶
Check if request has positively reached a final (completed) state.
HasRequestSucceeded¶
-
inline constexpr bool roq::utils::has_request_succeeded(RequestStatus request_status)¶
Check if request has positively succeeded.
HasRequestFailed¶
-
inline constexpr bool roq::utils::has_request_failed(RequestStatus request_status)¶
Check if request has positively failed.
IsOrderComplete¶
-
inline constexpr bool roq::utils::is_order_complete(OrderStatus order_status)¶
Check if order has reached a final (completed) status.
PriceFromSide¶
-
inline constexpr double roq::utils::price_from_side(Layer const &layer, Side side)¶
Extract price for roq::Layer given roq::Side.
Invert¶
Sign¶
MarketByPrice¶
-
struct MarketByPrice
Interface.