CreateOrder¶
-
struct CreateOrder¶
Fields required to create an order.
Public Members
-
uint64_t order_id = {}¶
Order identifier.
-
roq::PositionEffect position_effect = {}¶
Position effect.
-
roq::MarginMode margin_mode = {}¶
Margin mode.
-
roq::QuantityType quantity_type = {}¶
Type of quantity (requires ecxhange support)
-
double max_show_quantity = roq::NaN¶
Quantity visible to market (requires exchange support)
-
roq::TimeInForce time_in_force = {}¶
Time in force.
-
roq::Mask<roq::ExecutionInstruction> execution_instructions¶
Execution instructions.
-
std::string_view request_template¶
Request template (gateway configured)
-
double quantity = roq::NaN¶
Order quantity.
-
double price = roq::NaN¶
Limit price (depends on order_type)
-
std::string_view routing_id¶
Routing identifier.
-
uint32_t strategy_id = {}¶
Strategy identifier (optional)
-
uint64_t order_id = {}¶