|
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< OrderListPlaceSideEnum > | side |
| common::Required< common::Decimal > | price |
| common::Required< common::Decimal > | quantity |
| std::optional< std::string > | id = std::nullopt |
| Client-generated request identifier. | |
| 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 |
| Used to make the LIMIT_MAKER leg an iceberg order. | |
| std::optional< std::int64_t > | limit_strategy_id = std::nullopt |
| std::optional< std::int64_t > | limit_strategy_type = std::nullopt |
| The value cannot be less than 1000000. | |
| std::optional< common::Decimal > | stop_price = std::nullopt |
| std::optional< std::int64_t > | trailing_delta = 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< OrderListPlaceStopLimitTimeInForceEnum > | stop_limit_time_in_force = std::nullopt |
| Valid values are GTC/FOK/IOC. | |
| std::optional< common::Decimal > | stop_iceberg_qty = std::nullopt |
| Used with STOP_LOSS_LIMIT leg to make an iceberg order. | |
| std::optional< std::int64_t > | stop_strategy_id = std::nullopt |
| std::optional< std::int64_t > | stop_strategy_type = std::nullopt |
| The value cannot be less than 1000000. | |
| std::optional< OrderListPlaceNewOrderRespTypeEnum > | new_order_resp_type = std::nullopt |
| Format of the JSON response. Supported values: Order Response Type. | |
| std::optional< OrderListPlaceSelfTradePreventionModeEnum > | self_trade_prevention_mode |
| The allowed values are dependent on what is configured on the symbol. | |
| std::optional< common::Decimal > | recv_window = std::nullopt |
| Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified. | |
| common::Required<std::string> binance::spot::websocket_api::OrderListPlaceParams::symbol |
| common::Required<OrderListPlaceSideEnum> binance::spot::websocket_api::OrderListPlaceParams::side |
| common::Required<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::price |
| common::Required<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::quantity |
| std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::id = std::nullopt |
Client-generated request identifier.
| std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::list_client_order_id = std::nullopt |
A unique Id for the entire orderList.
| std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::limit_client_order_id = std::nullopt |
A unique Id for the limit order.
| std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::limit_iceberg_qty = std::nullopt |
Used to make the LIMIT_MAKER leg an iceberg order.
| std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::limit_strategy_id = std::nullopt |
| std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::limit_strategy_type = std::nullopt |
The value cannot be less than 1000000.
| std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_price = std::nullopt |
| std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::trailing_delta = std::nullopt |
| std::optional<std::string> binance::spot::websocket_api::OrderListPlaceParams::stop_client_order_id = std::nullopt |
A unique Id for the stop loss/stop loss limit leg.
| std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_limit_price = std::nullopt |
If provided, stopLimitTimeInForce is required.
| std::optional<OrderListPlaceStopLimitTimeInForceEnum> binance::spot::websocket_api::OrderListPlaceParams::stop_limit_time_in_force = std::nullopt |
Valid values are GTC/FOK/IOC.
| std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::stop_iceberg_qty = std::nullopt |
Used with STOP_LOSS_LIMIT leg to make an iceberg order.
| std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::stop_strategy_id = std::nullopt |
| std::optional<std::int64_t> binance::spot::websocket_api::OrderListPlaceParams::stop_strategy_type = std::nullopt |
The value cannot be less than 1000000.
| std::optional<OrderListPlaceNewOrderRespTypeEnum> binance::spot::websocket_api::OrderListPlaceParams::new_order_resp_type = std::nullopt |
Format of the JSON response. Supported values: Order Response Type.
| std::optional<OrderListPlaceSelfTradePreventionModeEnum> binance::spot::websocket_api::OrderListPlaceParams::self_trade_prevention_mode |
The allowed values are dependent on what is configured on the symbol.
Supported values: STP Modes
| std::optional<common::Decimal> binance::spot::websocket_api::OrderListPlaceParams::recv_window = std::nullopt |
Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.