Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::derivatives_trading_options::rest_api::NewOrderParams Struct Reference

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
common::Required< NewOrderSideEnum > side
common::Required< NewOrderTypeEnum > type
common::Required< common::Decimal > quantity
 Order Quantity.
std::optional< common::Decimal > price = std::nullopt
 Order Price.
std::optional< NewOrderTimeInForceEnum > time_in_force = std::nullopt
std::optional< bool > reduce_only = std::nullopt
std::optional< bool > post_only = std::nullopt
std::optional< NewOrderNewOrderRespTypeEnum > new_order_resp_type = std::nullopt
std::optional< std::string > client_order_id = std::nullopt
 User-defined order ID cannot be repeated in pending orders.
std::optional< bool > is_mmp = std::nullopt
 is market maker protection order
std::optional< NewOrderSelfTradePreventionModeEnum > self_trade_prevention_mode = std::nullopt
 Self-trade prevention mode.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ symbol

common::Required<std::string> binance::derivatives_trading_options::rest_api::NewOrderParams::symbol

◆ side

common::Required<NewOrderSideEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::side

◆ type

common::Required<NewOrderTypeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::type

◆ quantity

common::Required<common::Decimal> binance::derivatives_trading_options::rest_api::NewOrderParams::quantity

Order Quantity.

◆ price

std::optional<common::Decimal> binance::derivatives_trading_options::rest_api::NewOrderParams::price = std::nullopt

Order Price.

◆ time_in_force

std::optional<NewOrderTimeInForceEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::time_in_force = std::nullopt

◆ reduce_only

std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::reduce_only = std::nullopt

◆ post_only

std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::post_only = std::nullopt

◆ new_order_resp_type

std::optional<NewOrderNewOrderRespTypeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::new_order_resp_type = std::nullopt

◆ client_order_id

std::optional<std::string> binance::derivatives_trading_options::rest_api::NewOrderParams::client_order_id = std::nullopt

User-defined order ID cannot be repeated in pending orders.

◆ is_mmp

std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::is_mmp = std::nullopt

is market maker protection order

◆ self_trade_prevention_mode

std::optional<NewOrderSelfTradePreventionModeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::self_trade_prevention_mode = std::nullopt

Self-trade prevention mode.

◆ recv_window

std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::NewOrderParams::recv_window = std::nullopt