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

#include <new_margin_order_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
 Trade symbol, if existing.
std::optional< std::int64_t > order_id
 Normal orderID after trigger if appliable, only have when the strategy is triggered.
std::optional< std::string > client_order_id
 Client Order ID.
std::optional< std::int64_t > transact_time
 Transact Time.
std::optional< std::string > price
 Price.
std::optional< std::string > orig_qty
 Orig Qty.
std::optional< std::string > executed_qty
 Executed Qty.
std::optional< std::string > cummulative_quote_qty
 Cummulative Quote Qty.
std::optional< std::string > status
 Status.
std::optional< std::string > time_in_force
 Time In Force.
std::optional< std::string > type
 Normal order type after trigger if appliable.
std::optional< std::string > side
 Side.
std::optional< std::string > margin_buy_borrow_amount
 will not return if no margin trade happens
std::optional< std::string > margin_buy_borrow_asset
 will not return if no margin trade happens
std::optional< std::vector< NewMarginOrderResponseFillsInner > > fills
 Fills.

Member Function Documentation

◆ operator==()

bool binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::operator== ( const NewMarginOrderResponse & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::symbol

Trade symbol, if existing.

◆ order_id

std::optional<std::int64_t> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::order_id

Normal orderID after trigger if appliable, only have when the strategy is triggered.

◆ client_order_id

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::client_order_id

Client Order ID.

◆ transact_time

std::optional<std::int64_t> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::transact_time

Transact Time.

◆ price

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::price

Price.

◆ orig_qty

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::orig_qty

Orig Qty.

◆ executed_qty

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::executed_qty

Executed Qty.

◆ cummulative_quote_qty

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::cummulative_quote_qty

Cummulative Quote Qty.

◆ status

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::status

Status.

◆ time_in_force

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::time_in_force

Time In Force.

◆ type

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::type

Normal order type after trigger if appliable.

◆ side

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::side

Side.

◆ margin_buy_borrow_amount

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::margin_buy_borrow_amount

will not return if no margin trade happens

◆ margin_buy_borrow_asset

std::optional<std::string> binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::margin_buy_borrow_asset

will not return if no margin trade happens

◆ fills

std::optional<std::vector<NewMarginOrderResponseFillsInner> > binance::derivatives_trading_portfolio_margin::rest_api::NewMarginOrderResponse::fills

Fills.