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

#include <query_pnl_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > chain_id
std::optional< std::string > wallet_address
std::optional< std::optional< boost::json::value > > pnl
 std::nullopt when the field is absent; holds std::nullopt when it is null.
std::optional< std::vector< GetPortfolioResponsePositionsInner > > pnl_list
std::optional< std::int64_t > total_count
std::optional< std::string > total_realized_pnl
std::optional< std::string > total_unrealized_pnl
std::optional< std::string > total_pnl

Member Function Documentation

◆ operator==()

bool binance::w3w_prediction::rest_api::QueryPnLResponse::operator== ( const QueryPnLResponse & ) const
default

Member Data Documentation

◆ chain_id

std::optional<std::string> binance::w3w_prediction::rest_api::QueryPnLResponse::chain_id

◆ wallet_address

std::optional<std::string> binance::w3w_prediction::rest_api::QueryPnLResponse::wallet_address

◆ pnl

std::optional<std::optional<boost::json::value> > binance::w3w_prediction::rest_api::QueryPnLResponse::pnl

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

◆ pnl_list

std::optional<std::vector<GetPortfolioResponsePositionsInner> > binance::w3w_prediction::rest_api::QueryPnLResponse::pnl_list

◆ total_count

std::optional<std::int64_t> binance::w3w_prediction::rest_api::QueryPnLResponse::total_count

◆ total_realized_pnl

std::optional<std::string> binance::w3w_prediction::rest_api::QueryPnLResponse::total_realized_pnl

◆ total_unrealized_pnl

std::optional<std::string> binance::w3w_prediction::rest_api::QueryPnLResponse::total_unrealized_pnl

◆ total_pnl

std::optional<std::string> binance::w3w_prediction::rest_api::QueryPnLResponse::total_pnl