|
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 |
| See enum definitions: order side. | |
| common::Required< common::Decimal > | quantity |
| common::Required< common::Decimal > | price |
| common::Required< common::Decimal > | stop_price |
| 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 |
| Valid values are GTC/FOK/IOC. | |
| std::optional< MarginAccountNewOcoNewOrderRespTypeEnum > | new_order_resp_type = std::nullopt |
| Set the response JSON. | |
| std::optional< MarginAccountNewOcoSideEffectTypeEnum > | side_effect_type = std::nullopt |
| NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT. | |
| std::optional< std::int64_t > | recv_window = std::nullopt |
| common::Required<std::string> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::symbol |
| common::Required<MarginAccountNewOcoSideEnum> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::side |
See enum definitions: order side.
| common::Required<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::quantity |
| common::Required<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::price |
| common::Required<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::stop_price |
| std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::list_client_order_id = std::nullopt |
A unique Id for the entire orderList.
| std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::limit_client_order_id = std::nullopt |
A unique Id for the limit order.
| std::optional<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::limit_iceberg_qty = std::nullopt |
| std::optional<std::string> binance::derivatives_trading_portfolio_margin::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::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::stop_limit_price = std::nullopt |
If provided, stopLimitTimeInForce is required.
| std::optional<common::Decimal> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::stop_iceberg_qty = std::nullopt |
| std::optional<MarginAccountNewOcoStopLimitTimeInForceEnum> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::stop_limit_time_in_force |
Valid values are GTC/FOK/IOC.
| std::optional<MarginAccountNewOcoNewOrderRespTypeEnum> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::new_order_resp_type = std::nullopt |
Set the response JSON.
| std::optional<MarginAccountNewOcoSideEffectTypeEnum> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::side_effect_type = std::nullopt |
NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY; default NO_SIDE_EFFECT.
| std::optional<std::int64_t> binance::derivatives_trading_portfolio_margin::rest_api::MarginAccountNewOcoParams::recv_window = std::nullopt |