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

#include <account_information_v2_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::int64_t > fee_tier
 Account commission tier.
std::optional< bool > fee_burn
 Whether fee discount is enabled.
std::optional< bool > can_trade
 Whether trading is enabled.
std::optional< bool > can_deposit
 Whether transfer-in is enabled.
std::optional< bool > can_withdraw
 Whether transfer-out is enabled.
std::optional< std::int64_t > update_time
 Reserved field, ignore.
std::optional< bool > multi_assets_margin
 Whether multi-assets mode is enabled.
std::optional< std::int64_t > trade_group_id
 Trade group identifier.
std::optional< std::string > total_initial_margin
 Total initial margin requirement.
std::optional< std::string > total_maint_margin
 Total maintenance margin requirement.
std::optional< std::string > total_wallet_balance
 Total wallet balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.
std::optional< std::string > total_unrealized_profit
 Total unrealized profit.
std::optional< std::string > total_margin_balance
 Total margin balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.
std::optional< std::string > total_position_initial_margin
 Initial margin required for positions.
std::optional< std::string > total_open_order_initial_margin
 Initial margin required for open orders.
std::optional< std::string > total_cross_wallet_balance
 Cross wallet balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.
std::optional< std::string > total_cross_un_pnl
 Unrealized PnL for cross positions.
std::optional< std::string > available_balance
 Available balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.
std::optional< std::string > max_withdraw_amount
 Maximum transferable/withdrawable amount.
std::optional< std::vector< AccountInformationV2ResponseAssetsInner > > assets
 Asset-level account details.
std::optional< std::vector< AccountInformationV2ResponsePositionsInner > > positions
 Position details for symbols. One-way mode returns BOTH; hedge mode returns LONG/SHORT.

Member Function Documentation

◆ operator==()

bool binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::operator== ( const AccountInformationV2Response & ) const
default

Member Data Documentation

◆ fee_tier

std::optional<std::int64_t> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::fee_tier

Account commission tier.

◆ fee_burn

std::optional<bool> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::fee_burn

Whether fee discount is enabled.

◆ can_trade

std::optional<bool> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::can_trade

Whether trading is enabled.

◆ can_deposit

std::optional<bool> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::can_deposit

Whether transfer-in is enabled.

◆ can_withdraw

std::optional<bool> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::can_withdraw

Whether transfer-out is enabled.

◆ update_time

std::optional<std::int64_t> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::update_time

Reserved field, ignore.

◆ multi_assets_margin

std::optional<bool> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::multi_assets_margin

Whether multi-assets mode is enabled.

◆ trade_group_id

std::optional<std::int64_t> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::trade_group_id

Trade group identifier.

◆ total_initial_margin

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_initial_margin

Total initial margin requirement.

USDT only in single-asset mode; the sum of USD value of all cross positions/open order initial margin in multi-assets mode.

◆ total_maint_margin

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_maint_margin

Total maintenance margin requirement.

USDT only in single-asset mode; the sum of USD value of all cross positions maintenance margin in multi-assets mode.

◆ total_wallet_balance

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_wallet_balance

Total wallet balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ total_unrealized_profit

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_unrealized_profit

Total unrealized profit.

USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ total_margin_balance

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_margin_balance

Total margin balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ total_position_initial_margin

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_position_initial_margin

Initial margin required for positions.

USDT only in single-asset mode; the sum of USD value of all cross positions initial margin in multi-assets mode.

◆ total_open_order_initial_margin

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_open_order_initial_margin

Initial margin required for open orders.

USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ total_cross_wallet_balance

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_cross_wallet_balance

Cross wallet balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ total_cross_un_pnl

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::total_cross_un_pnl

Unrealized PnL for cross positions.

USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ available_balance

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::available_balance

Available balance. USDT only in single-asset mode; USD-denominated in multi-assets mode.

◆ max_withdraw_amount

std::optional<std::string> binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::max_withdraw_amount

Maximum transferable/withdrawable amount.

USDT only in single-asset mode; a maximum virtual USD amount in multi-assets mode.

◆ assets

std::optional<std::vector<AccountInformationV2ResponseAssetsInner> > binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::assets

Asset-level account details.

◆ positions

std::optional<std::vector<AccountInformationV2ResponsePositionsInner> > binance::derivatives_trading_usds_futures::rest_api::AccountInformationV2Response::positions

Position details for symbols. One-way mode returns BOTH; hedge mode returns LONG/SHORT.