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

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
 Symbol.
common::Required< ModifyOrderSideEnum > side
 SELL, BUY
common::Required< common::Decimal > quantity
 Order quantity, cannot be sent with closePosition=true.
common::Required< common::Decimal > price
 Price.
std::optional< std::string > id = std::nullopt
 Id.
std::optional< std::int64_t > order_id = std::nullopt
 Order Id.
std::optional< std::string > orig_client_order_id = std::nullopt
 Orig Client Order Id.
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< ModifyOrderReduceOnlyEnum > reduce_only = std::nullopt
 See notes below for behavior.
std::optional< std::int64_t > recv_window = std::nullopt
 Recv Window.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::symbol

Symbol.

◆ side

common::Required<ModifyOrderSideEnum> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::side

SELL, BUY

◆ quantity

common::Required<common::Decimal> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::quantity

Order quantity, cannot be sent with closePosition=true.

◆ price

common::Required<common::Decimal> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::price

Price.

◆ id

std::optional<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::id = std::nullopt

Id.

◆ order_id

std::optional<std::int64_t> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::order_id = std::nullopt

Order Id.

◆ orig_client_order_id

std::optional<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::orig_client_order_id = std::nullopt

Orig Client Order Id.

◆ price_match

std::optional<ModifyOrderPriceMatchEnum> binance::derivatives_trading_usds_futures::websocket_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_usds_futures::websocket_api::ModifyOrderParams::modify_id = std::nullopt

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

Optional; not validated for uniqueness.

◆ reduce_only

std::optional<ModifyOrderReduceOnlyEnum> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::reduce_only = std::nullopt

See notes below for behavior.

◆ recv_window

std::optional<std::int64_t> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::recv_window = std::nullopt

Recv Window.