|
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< NewOrderSideEnum > | side |
| common::Required< NewOrderTypeEnum > | type |
| common::Required< common::Decimal > | quantity |
| Order Quantity. | |
| std::optional< common::Decimal > | price = std::nullopt |
| Order Price. | |
| std::optional< NewOrderTimeInForceEnum > | time_in_force = std::nullopt |
| std::optional< bool > | reduce_only = std::nullopt |
| std::optional< bool > | post_only = std::nullopt |
| std::optional< NewOrderNewOrderRespTypeEnum > | new_order_resp_type = std::nullopt |
| std::optional< std::string > | client_order_id = std::nullopt |
| User-defined order ID cannot be repeated in pending orders. | |
| std::optional< bool > | is_mmp = std::nullopt |
| is market maker protection order | |
| std::optional< NewOrderSelfTradePreventionModeEnum > | self_trade_prevention_mode = std::nullopt |
| Self-trade prevention mode. | |
| std::optional< std::int64_t > | recv_window = std::nullopt |
| common::Required<std::string> binance::derivatives_trading_options::rest_api::NewOrderParams::symbol |
| common::Required<NewOrderSideEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::side |
| common::Required<NewOrderTypeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::type |
| common::Required<common::Decimal> binance::derivatives_trading_options::rest_api::NewOrderParams::quantity |
Order Quantity.
| std::optional<common::Decimal> binance::derivatives_trading_options::rest_api::NewOrderParams::price = std::nullopt |
Order Price.
| std::optional<NewOrderTimeInForceEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::time_in_force = std::nullopt |
| std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::reduce_only = std::nullopt |
| std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::post_only = std::nullopt |
| std::optional<NewOrderNewOrderRespTypeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::new_order_resp_type = std::nullopt |
| std::optional<std::string> binance::derivatives_trading_options::rest_api::NewOrderParams::client_order_id = std::nullopt |
User-defined order ID cannot be repeated in pending orders.
| std::optional<bool> binance::derivatives_trading_options::rest_api::NewOrderParams::is_mmp = std::nullopt |
is market maker protection order
| std::optional<NewOrderSelfTradePreventionModeEnum> binance::derivatives_trading_options::rest_api::NewOrderParams::self_trade_prevention_mode = std::nullopt |
Self-trade prevention mode.
| std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::NewOrderParams::recv_window = std::nullopt |