|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#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. | |
| common::Required<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::symbol |
Symbol.
| common::Required<ModifyOrderSideEnum> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::side |
SELL, BUY
| common::Required<common::Decimal> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::quantity |
Order quantity, cannot be sent with closePosition=true.
| common::Required<common::Decimal> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::price |
Price.
| std::optional<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::id = std::nullopt |
Id.
| std::optional<std::int64_t> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::order_id = std::nullopt |
Order Id.
| std::optional<std::string> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::orig_client_order_id = std::nullopt |
Orig Client Order Id.
| 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
| 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.
| std::optional<ModifyOrderReduceOnlyEnum> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::reduce_only = std::nullopt |
See notes below for behavior.
| std::optional<std::int64_t> binance::derivatives_trading_usds_futures::websocket_api::ModifyOrderParams::recv_window = std::nullopt |
Recv Window.