|
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< common::Decimal > | new_qty |
| newQty must be greater than 0 and less than the order's quantity. | |
| std::optional< std::int64_t > | order_id = std::nullopt |
| orderId or origClientOrderId must be sent | |
| std::optional< std::string > | orig_client_order_id = std::nullopt |
| orderId or origClientOrderId must be sent | |
| std::optional< std::string > | new_client_order_id = std::nullopt |
| The new client order ID for the order after being amended. | |
| std::optional< common::Decimal > | recv_window = std::nullopt |
| The value cannot be greater than 60000. | |
| common::Required<std::string> binance::spot::rest_api::OrderAmendKeepPriorityParams::symbol |
| common::Required<common::Decimal> binance::spot::rest_api::OrderAmendKeepPriorityParams::new_qty |
newQty must be greater than 0 and less than the order's quantity.
| std::optional<std::int64_t> binance::spot::rest_api::OrderAmendKeepPriorityParams::order_id = std::nullopt |
orderId or origClientOrderId must be sent
| std::optional<std::string> binance::spot::rest_api::OrderAmendKeepPriorityParams::orig_client_order_id = std::nullopt |
orderId or origClientOrderId must be sent
| std::optional<std::string> binance::spot::rest_api::OrderAmendKeepPriorityParams::new_client_order_id = std::nullopt |
The new client order ID for the order after being amended.
If not sent, one will be randomly generated. It is possible to reuse the current clientOrderId by sending it as the newClientOrderId.
| std::optional<common::Decimal> binance::spot::rest_api::OrderAmendKeepPriorityParams::recv_window = std::nullopt |
The value cannot be greater than 60000.
Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.