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

#include <option_position_information_response_inner.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > entry_price
 Average entry price.
std::optional< std::string > symbol
 Option trading pair.
std::optional< std::string > side
 Position direction.
std::optional< std::string > quantity
 Number of positions (positive numbers represent long positions, negative number represent short positions).
std::optional< std::string > mark_value
 Current market value.
std::optional< std::string > unrealized_pnl
 Unrealized profit/loss.
std::optional< std::string > mark_price
 Mark price.
std::optional< std::string > strike_price
 Strike price.
std::optional< std::int64_t > expiry_date
 Exercise time.
std::optional< std::int64_t > price_scale
 price Scale
std::optional< std::int64_t > quantity_scale
 quantity Scale
std::optional< std::string > option_side
 option type
std::optional< std::string > quote_asset
 quote asset
std::optional< std::int64_t > time
 last update time
std::optional< std::string > bid_quantity
 buy order qty
std::optional< std::string > ask_quantity
 sell order qty

Member Function Documentation

◆ operator==()

bool binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::operator== ( const OptionPositionInformationResponseInner & ) const
default

Member Data Documentation

◆ entry_price

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::entry_price

Average entry price.

◆ symbol

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::symbol

Option trading pair.

◆ side

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::side

Position direction.

◆ quantity

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::quantity

Number of positions (positive numbers represent long positions, negative number represent short positions).

◆ mark_value

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::mark_value

Current market value.

◆ unrealized_pnl

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::unrealized_pnl

Unrealized profit/loss.

◆ mark_price

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::mark_price

Mark price.

◆ strike_price

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::strike_price

Strike price.

◆ expiry_date

std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::expiry_date

Exercise time.

◆ price_scale

std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::price_scale

price Scale

◆ quantity_scale

std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::quantity_scale

quantity Scale

◆ option_side

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::option_side

option type

◆ quote_asset

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::quote_asset

quote asset

◆ time

std::optional<std::int64_t> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::time

last update time

◆ bid_quantity

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::bid_quantity

buy order qty

◆ ask_quantity

std::optional<std::string> binance::derivatives_trading_options::rest_api::OptionPositionInformationResponseInner::ask_quantity

sell order qty