Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::websocket_api::OrderAmendKeepPriorityParams Struct Reference

#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::string > id = std::nullopt
 Client-generated request identifier.
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
 Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::spot::websocket_api::OrderAmendKeepPriorityParams::symbol

◆ new_qty

common::Required<common::Decimal> binance::spot::websocket_api::OrderAmendKeepPriorityParams::new_qty

newQty must be greater than 0 and less than the order's quantity.

◆ id

std::optional<std::string> binance::spot::websocket_api::OrderAmendKeepPriorityParams::id = std::nullopt

Client-generated request identifier.

◆ order_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderAmendKeepPriorityParams::order_id = std::nullopt

orderId or origClientOrderId must be sent

◆ orig_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderAmendKeepPriorityParams::orig_client_order_id = std::nullopt

orderId or origClientOrderId must be sent

◆ new_client_order_id

std::optional<std::string> binance::spot::websocket_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.

◆ recv_window

std::optional<common::Decimal> binance::spot::websocket_api::OrderAmendKeepPriorityParams::recv_window = std::nullopt

Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.