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

#include <current_open_orders_response_inner.hpp>

Public Member Functions

bool operator== (const CurrentOpenOrdersResponseInner &) const =default

Public Attributes

std::optional< std::string > order_id
 Equity order id.
std::optional< std::string > symbol
 US-equity ticker.
std::optional< std::string > quote
 Quote asset (e.g. USDC).
std::optional< std::string > side
 BUY / SELL.
std::optional< std::string > order_type
 MARKET / LIMIT.
std::optional< std::optional< std::string > > limit_price
 Limit price (USD).
std::optional< std::optional< std::string > > avg_filled_price
 Average fill price (USD).
std::optional< std::optional< std::string > > qty
 Requested quantity.
std::optional< std::optional< std::string > > notional
 Requested notional.
std::optional< std::string > filled_qty
 Cumulative filled quantity.
std::optional< std::optional< std::string > > filled_total
 Cumulative filled notional.
std::optional< std::string > fee
 Total commission fee (USD).
std::optional< std::optional< std::string > > session
 Trading session the order was placed under: RTH / EXTENDED / 24H.
std::optional< std::string > status
 Order lifecycle status — one of NEW / ACCEPTED / PARTIALLY_FILLED / FILLED / CANCELED / EXPIRED / REJECTED.
std::optional< std::int64_t > created_at
 Order creation time (ms epoch).
std::optional< std::int64_t > updated_at
 Last update time (ms epoch).

Member Function Documentation

◆ operator==()

bool binance::stocks::rest_api::CurrentOpenOrdersResponseInner::operator== ( const CurrentOpenOrdersResponseInner & ) const
default

Member Data Documentation

◆ order_id

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::order_id

Equity order id.

◆ symbol

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::symbol

US-equity ticker.

◆ quote

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::quote

Quote asset (e.g. USDC).

◆ side

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::side

BUY / SELL.

◆ order_type

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::order_type

MARKET / LIMIT.

◆ limit_price

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::limit_price

Limit price (USD).

Non-null for LIMIT orders, null for MARKET. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ avg_filled_price

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::avg_filled_price

Average fill price (USD).

null until the first fill. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ qty

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::qty

Requested quantity.

null for BUY MARKET (use notional instead). std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ notional

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::notional

Requested notional.

Non-null for BUY MARKET; null otherwise. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ filled_qty

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::filled_qty

Cumulative filled quantity.

◆ filled_total

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::filled_total

Cumulative filled notional.

Populated only for BUY MARKET. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ fee

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::fee

Total commission fee (USD).

◆ session

std::optional<std::optional<std::string> > binance::stocks::rest_api::CurrentOpenOrdersResponseInner::session

Trading session the order was placed under: RTH / EXTENDED / 24H.

null for MARKET orders. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ status

std::optional<std::string> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::status

Order lifecycle status — one of NEW / ACCEPTED / PARTIALLY_FILLED / FILLED / CANCELED / EXPIRED / REJECTED.

◆ created_at

std::optional<std::int64_t> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::created_at

Order creation time (ms epoch).

◆ updated_at

std::optional<std::int64_t> binance::stocks::rest_api::CurrentOpenOrdersResponseInner::updated_at

Last update time (ms epoch).