Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::websocket_api::OrderListPlaceParams Struct Reference

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
common::Required< OrderListPlaceSideEnum > side
common::Required< common::Decimal > price
common::Required< common::Decimal > quantity
std::optional< std::string > id = std::nullopt
 Client-generated request identifier.
std::optional< std::string > list_client_order_id = std::nullopt
 A unique Id for the entire orderList.
std::optional< std::string > limit_client_order_id = std::nullopt
 A unique Id for the limit order.
std::optional< common::Decimal > limit_iceberg_qty = std::nullopt
 Used to make the LIMIT_MAKER leg an iceberg order.
std::optional< std::int64_t > limit_strategy_id = std::nullopt
std::optional< std::int64_t > limit_strategy_type = std::nullopt
 The value cannot be less than 1000000.
std::optional< common::Decimal > stop_price = std::nullopt
std::optional< std::int64_t > trailing_delta = std::nullopt
std::optional< std::string > stop_client_order_id = std::nullopt
 A unique Id for the stop loss/stop loss limit leg.
std::optional< common::Decimal > stop_limit_price = std::nullopt
 If provided, stopLimitTimeInForce is required.
std::optional< OrderListPlaceStopLimitTimeInForceEnum > stop_limit_time_in_force = std::nullopt
 Valid values are GTC/FOK/IOC.
std::optional< common::Decimal > stop_iceberg_qty = std::nullopt
 Used with STOP_LOSS_LIMIT leg to make an iceberg order.
std::optional< std::int64_t > stop_strategy_id = std::nullopt
std::optional< std::int64_t > stop_strategy_type = std::nullopt
 The value cannot be less than 1000000.
std::optional< OrderListPlaceNewOrderRespTypeEnum > new_order_resp_type = std::nullopt
 Format of the JSON response. Supported values: Order Response Type.
std::optional< OrderListPlaceSelfTradePreventionModeEnum > self_trade_prevention_mode
 The allowed values are dependent on what is configured on the symbol.
std::optional< common::Decimal > recv_window = std::nullopt
 Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::spot::websocket_api::OrderListPlaceParams::symbol

◆ side

common::Required<OrderListPlaceSideEnum> binance::spot::websocket_api::OrderListPlaceParams::side

◆ price

common::Required<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::price

◆ quantity

common::Required<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::quantity

◆ id

std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::id = std::nullopt

Client-generated request identifier.

◆ list_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::list_client_order_id = std::nullopt

A unique Id for the entire orderList.

◆ limit_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::limit_client_order_id = std::nullopt

A unique Id for the limit order.

◆ limit_iceberg_qty

std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::limit_iceberg_qty = std::nullopt

Used to make the LIMIT_MAKER leg an iceberg order.

◆ limit_strategy_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::limit_strategy_id = std::nullopt

◆ limit_strategy_type

std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::limit_strategy_type = std::nullopt

The value cannot be less than 1000000.

◆ stop_price

std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_price = std::nullopt

◆ trailing_delta

std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::trailing_delta = std::nullopt

◆ stop_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::stop_client_order_id = std::nullopt

A unique Id for the stop loss/stop loss limit leg.

◆ stop_limit_price

std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_limit_price = std::nullopt

If provided, stopLimitTimeInForce is required.

◆ stop_limit_time_in_force

std::optional<OrderListPlaceStopLimitTimeInForceEnum> binance::spot::websocket_api::OrderListPlaceParams::stop_limit_time_in_force = std::nullopt

Valid values are GTC/FOK/IOC.

◆ stop_iceberg_qty

std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_iceberg_qty = std::nullopt

Used with STOP_LOSS_LIMIT leg to make an iceberg order.

◆ stop_strategy_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::stop_strategy_id = std::nullopt

◆ stop_strategy_type

std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::stop_strategy_type = std::nullopt

The value cannot be less than 1000000.

◆ new_order_resp_type

std::optional<OrderListPlaceNewOrderRespTypeEnum> binance::spot::websocket_api::OrderListPlaceParams::new_order_resp_type = std::nullopt

Format of the JSON response. Supported values: Order Response Type.

◆ self_trade_prevention_mode

std::optional<OrderListPlaceSelfTradePreventionModeEnum> binance::spot::websocket_api::OrderListPlaceParams::self_trade_prevention_mode
Initial value:
=
std::nullopt

The allowed values are dependent on what is configured on the symbol.

Supported values: STP Modes

◆ recv_window

std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::recv_window = std::nullopt

Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.