|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <trade_api.hpp>
Public Attributes | |
| common::Required< std::string > | symbol |
| common::Required< MarginAccountNewOcoSideEnum > | side |
| common::Required< common::Decimal > | quantity |
| common::Required< common::Decimal > | price |
| common::Required< common::Decimal > | stop_price |
| std::optional< MarginAccountNewOcoIsIsolatedEnum > | is_isolated = std::nullopt |
| 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 |
| 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< common::Decimal > | stop_iceberg_qty = std::nullopt |
| std::optional< MarginAccountNewOcoStopLimitTimeInForceEnum > | stop_limit_time_in_force |
| std::optional< MarginAccountNewOcoNewOrderRespTypeEnum > | new_order_resp_type = std::nullopt |
| std::optional< MarginAccountNewOcoSideEffectTypeEnum > | side_effect_type = std::nullopt |
| std::optional< MarginAccountNewOcoSelfTradePreventionModeEnum > | self_trade_prevention_mode |
| std::optional< bool > | auto_repay_at_cancel = std::nullopt |
| Only when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled. | |
| std::optional< std::int64_t > | recv_window = std::nullopt |
| common::Required<std::string> binance::margin_trading::rest_api::MarginAccountNewOcoParams::symbol |
| common::Required<MarginAccountNewOcoSideEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::side |
| common::Required<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::quantity |
| common::Required<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::price |
| common::Required<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::stop_price |
| std::optional<MarginAccountNewOcoIsIsolatedEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::is_isolated = std::nullopt |
| std::optional<std::string> binance::margin_trading::rest_api::MarginAccountNewOcoParams::list_client_order_id = std::nullopt |
A unique Id for the entire orderList.
| std::optional<std::string> binance::margin_trading::rest_api::MarginAccountNewOcoParams::limit_client_order_id = std::nullopt |
A unique Id for the limit order.
| std::optional<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::limit_iceberg_qty = std::nullopt |
| std::optional<std::string> binance::margin_trading::rest_api::MarginAccountNewOcoParams::stop_client_order_id = std::nullopt |
A unique Id for the stop loss/stop loss limit leg.
| std::optional<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::stop_limit_price = std::nullopt |
If provided, stopLimitTimeInForce is required.
| std::optional<common::Decimal> binance::margin_trading::rest_api::MarginAccountNewOcoParams::stop_iceberg_qty = std::nullopt |
| std::optional<MarginAccountNewOcoStopLimitTimeInForceEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::stop_limit_time_in_force |
| std::optional<MarginAccountNewOcoNewOrderRespTypeEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::new_order_resp_type = std::nullopt |
| std::optional<MarginAccountNewOcoSideEffectTypeEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::side_effect_type = std::nullopt |
| std::optional<MarginAccountNewOcoSelfTradePreventionModeEnum> binance::margin_trading::rest_api::MarginAccountNewOcoParams::self_trade_prevention_mode |
| std::optional<bool> binance::margin_trading::rest_api::MarginAccountNewOcoParams::auto_repay_at_cancel = std::nullopt |
Only when MARGIN_BUY or AUTO_BORROW_REPAY order takes effect, true means that the debt generated by the order needs to be repay after the order is cancelled.
| std::optional<std::int64_t> binance::margin_trading::rest_api::MarginAccountNewOcoParams::recv_window = std::nullopt |