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

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
std::optional< std::int64_t > order_id = std::nullopt
std::optional< std::string > orig_client_order_id = std::nullopt
std::optional< std::string > new_client_order_id = std::nullopt
 Used to uniquely identify this cancel. Automatically generated by default.
std::optional< DeleteOrderCancelRestrictionsEnum > cancel_restrictions = std::nullopt
 Supported values: ONLY_NEW - Cancel will succeed if the order status is NEW.
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::rest_api::DeleteOrderParams::symbol

◆ order_id

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderParams::order_id = std::nullopt

◆ orig_client_order_id

std::optional<std::string> binance::spot::rest_api::DeleteOrderParams::orig_client_order_id = std::nullopt

◆ new_client_order_id

std::optional<std::string> binance::spot::rest_api::DeleteOrderParams::new_client_order_id = std::nullopt

Used to uniquely identify this cancel. Automatically generated by default.

◆ cancel_restrictions

std::optional<DeleteOrderCancelRestrictionsEnum> binance::spot::rest_api::DeleteOrderParams::cancel_restrictions = std::nullopt

Supported values: ONLY_NEW - Cancel will succeed if the order status is NEW.

ONLY_PARTIALLY_FILLED - Cancel will succeed if order status is PARTIALLY_FILLED. For more information please refer to Regarding cancelRestrictions.

◆ recv_window

std::optional<common::Decimal> binance::spot::rest_api::DeleteOrderParams::recv_window = std::nullopt

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