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

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
 Symbol.
common::Required< ModifyOrderSideEnum > side
std::optional< std::int64_t > order_id = std::nullopt
 Order ID.
std::optional< std::string > orig_client_order_id = std::nullopt
 Client order ID.
std::optional< common::Decimal > quantity = std::nullopt
 Order quantity, cannot be sent with closePosition=true.
std::optional< common::Decimal > price = std::nullopt
 Order price.
std::optional< ModifyOrderPriceMatchEnum > price_match = std::nullopt
 only avaliable for LIMIT/STOP/TAKE_PROFIT order; Can't be passed together with price
std::optional< std::int64_t > modify_id = std::nullopt
 User-defined modification identifier, returned as-is in the response.
std::optional< std::int64_t > recv_window = std::nullopt

Member Data Documentation

◆ symbol

common::Required<std::string> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::symbol

Symbol.

◆ side

common::Required<ModifyOrderSideEnum> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::side

◆ order_id

std::optional<std::int64_t> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::order_id = std::nullopt

Order ID.

◆ orig_client_order_id

std::optional<std::string> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::orig_client_order_id = std::nullopt

Client order ID.

◆ quantity

std::optional<common::Decimal> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::quantity = std::nullopt

Order quantity, cannot be sent with closePosition=true.

After CM migration, this parameter becomes mandatory (must be sent together with price).

◆ price

std::optional<common::Decimal> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::price = std::nullopt

Order price.

After CM migration, this parameter becomes mandatory (must be sent together with quantity).

◆ price_match

std::optional<ModifyOrderPriceMatchEnum> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::price_match = std::nullopt

only avaliable for LIMIT/STOP/TAKE_PROFIT order; Can't be passed together with price

◆ modify_id

std::optional<std::int64_t> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::modify_id = std::nullopt

User-defined modification identifier, returned as-is in the response.

Optional; not validated for uniqueness.

◆ recv_window

std::optional<std::int64_t> binance::derivatives_trading_coin_futures::rest_api::ModifyOrderParams::recv_window = std::nullopt