|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <account_api.hpp>
|
explicit |
|
nodiscard |
Account Information V2 (USER_DATA).
GET /fapi/v2/account.
Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous account_information_v2().
Completes with void(std::exception_ptr, common::RestApiResponse<AccountInformationV2Response>).
|
nodiscard |
Account Information V3 (USER_DATA).
GET /fapi/v3/account.
Get current account information. User in single-asset/ multi-assets mode will see different value, see comments in response section for detail.
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous account_information_v3().
Completes with void(std::exception_ptr, common::RestApiResponse<AccountInformationV3Response>).
|
nodiscard |
Futures Account Balance V2 (USER_DATA).
GET /fapi/v2/balance.
Query account balance information.
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous futures_account_balance_v2().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<FuturesAccountBalanceV2ResponseInner>>).
|
nodiscard |
Futures Account Balance V3 (USER_DATA).
GET /fapi/v3/balance.
Query account balance information.
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous futures_account_balance_v3().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<FuturesAccountBalanceV2ResponseInner>>).
|
nodiscard |
Futures Account Configuration (USER_DATA).
GET /fapi/v1/accountConfig.
Query account configuration
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous futures_account_configuration().
Completes with void(std::exception_ptr, common::RestApiResponse<FuturesAccountConfigurationResponse>).
|
nodiscard |
Futures Trading Quantitative Rules Indicators (USER_DATA).
GET /fapi/v1/apiTradingStatus.
Futures trading quantitative rules indicators, for more information on this, please refer to the Futures Trading Quantitative Rules
Weight: - 1 for a single symbol
Security Type: USER_DATA
|
inline |
Asynchronous futures_trading_quantitative_rules_indicators().
Completes with void(std::exception_ptr, common::RestApiResponse<FuturesTradingQuantitativeRulesIndicatorsResponse>).
|
nodiscard |
Get BNB Burn Status (USER_DATA).
GET /fapi/v1/feeBurn.
Get user's BNB Fee Discount (Fee Discount On or Fee Discount Off )
Weight(IP): 30
Security Type: USER_DATA
|
inline |
Asynchronous get_bnb_burn_status().
Completes with void(std::exception_ptr, common::RestApiResponse<GetBnbBurnStatusResponse>).
|
nodiscard |
Toggle BNB Burn On Futures Trade (TRADE).
POST /fapi/v1/feeBurn.
Change user's BNB Fee Discount (Fee Discount On or Fee Discount Off ) on EVERY symbol
Weight(IP): 1
Security Type: TRADE
|
inline |
Asynchronous toggle_bnb_burn_on_futures_trade().
Completes with void(std::exception_ptr, common::RestApiResponse<ToggleBnbBurnOnFuturesTradeResponse>).
|
nodiscard |
Get Current Multi-Assets Mode (USER_DATA).
GET /fapi/v1/multiAssetsMargin.
Get user's Multi-Assets mode (Multi-Assets Mode or Single-Asset Mode) on Every symbol
Weight(IP): 30
Security Type: USER_DATA
|
inline |
Asynchronous get_current_multi_assets_mode().
Completes with void(std::exception_ptr, common::RestApiResponse<GetCurrentMultiAssetsModeResponse>).
|
nodiscard |
Get Current Position Mode (USER_DATA).
GET /fapi/v1/positionSide/dual.
Get user's position mode (Hedge Mode or One-way Mode ) on EVERY symbol
Weight(IP): 30
Security Type: USER_DATA
|
inline |
Asynchronous get_current_position_mode().
Completes with void(std::exception_ptr, common::RestApiResponse<GetCurrentPositionModeResponse>).
|
nodiscard |
Get Download Id For Futures Order History (USER_DATA).
GET /fapi/v1/order/asyn.
Get Download Id For Futures Order History
Weight(IP): 1000
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_download_id_for_futures_order_history().
Completes with void(std::exception_ptr, common::RestApiResponse<GetDownloadIdForFuturesOrderHistoryResponse>).
|
nodiscard |
Get Download Id For Futures Trade History (USER_DATA).
GET /fapi/v1/trade/asyn.
Get download id for futures trade history
Weight(IP): 1000
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_download_id_for_futures_trade_history().
Completes with void(std::exception_ptr, common::RestApiResponse<GetDownloadIdForFuturesTradeHistoryResponse>).
|
nodiscard |
Get Download Id For Futures Transaction History (USER_DATA).
GET /fapi/v1/income/asyn.
Get download id for futures transaction history
Weight(IP): 1000
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_download_id_for_futures_transaction_history().
Completes with void(std::exception_ptr, common::RestApiResponse<GetDownloadIdForFuturesTransactionHistoryResponse>).
|
nodiscard |
Get Futures Order History Download Link by Id (USER_DATA).
GET /fapi/v1/order/asyn/id.
Get futures order history download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_futures_order_history_download_link_by_id().
Completes with void(std::exception_ptr, common::RestApiResponse<GetFuturesOrderHistoryDownloadLinkByIdResponse>).
|
nodiscard |
Get Futures Trade Download Link by Id (USER_DATA).
GET /fapi/v1/trade/asyn/id.
Get futures trade download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_futures_trade_download_link_by_id().
Completes with void(std::exception_ptr, common::RestApiResponse<GetFuturesTradeDownloadLinkByIdResponse>).
|
nodiscard |
Get Futures Transaction History Download Link by Id (USER_DATA).
GET /fapi/v1/income/asyn/id.
Get futures transaction history download link by Id
Weight(IP): 10
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_futures_transaction_history_download_link_by_id().
Completes with void(std::exception_ptr, common::RestApiResponse<GetFuturesTransactionHistoryDownloadLinkByIdResponse>).
|
nodiscard |
Get Income History (USER_DATA).
GET /fapi/v1/income.
Query income history
Weight(IP): 30
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_income_history().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetIncomeHistoryResponseInner>>).
|
nodiscard |
Notional and Leverage Brackets (USER_DATA).
GET /fapi/v1/leverageBracket.
Query user notional and leverage bracket on speicfic symbol
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous notional_and_leverage_brackets().
Completes with void(std::exception_ptr, common::RestApiResponse<NotionalAndLeverageBracketsResponse>).
|
nodiscard |
Query User Rate Limit (USER_DATA).
GET /fapi/v1/rateLimit/order.
Query User Rate Limit
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous query_user_rate_limit().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<QueryUserRateLimitResponseInner>>).
|
nodiscard |
Symbol Configuration (USER_DATA).
GET /fapi/v1/symbolConfig.
Get current account symbol configuration.
Weight(IP): 5
Security Type: USER_DATA
|
inline |
Asynchronous symbol_configuration().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<SymbolConfigurationResponseInner>>).
|
nodiscard |
User Commission Rate (USER_DATA).
GET /fapi/v1/commissionRate.
Get User Commission Rate
Weight(IP): 20
Security Type: USER_DATA
|
inline |
Asynchronous user_commission_rate().
Completes with void(std::exception_ptr, common::RestApiResponse<UserCommissionRateResponse>).