|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <account_api.hpp>
|
explicit |
|
nodiscard |
Account Information (USER_DATA).
GET /dapi/v1/account.
Get current account information.
Weight(IP): 5
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous account_information().
Completes with void(std::exception_ptr, common::RestApiResponse<AccountInformationResponse>).
|
nodiscard |
Futures Account Balance (USER_DATA).
GET /dapi/v1/balance.
Check futures account balance
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous futures_account_balance().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<FuturesAccountBalanceResponseInner>>).
|
nodiscard |
Get Current Position Mode (USER_DATA).
GET /dapi/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 /dapi/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 /dapi/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 /dapi/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 /dapi/v1/order/asyn/id.
Get futures order history download link by Id
Weight(IP): 5
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 /dapi/v1/trade/asyn/id.
Get futures trade download link by Id
Weight(IP): 5
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 /dapi/v1/income/asyn/id.
Get futures transaction history download link by Id
Weight(IP): 5
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 /dapi/v1/income.
Get income history
Weight(IP): 20
Security Type: USER_DATA
Notes:
|
inline |
Asynchronous get_income_history().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<GetIncomeHistoryResponseInner>>).
|
nodiscard |
Notional Bracket for Pair (USER_DATA).
GET /dapi/v1/leverageBracket.
Not recommended to continue using this v1 endpoint
Get the pair's default notional bracket list, may return ambiguous values when there have been multiple different symbol brackets under the pair, suggest using the following GET /dapi/v2/leverageBracket query instead to get the specific symbol notional bracket list.
Weight(IP): 1
Security Type: USER_DATA
|
inline |
Asynchronous notional_bracket_for_pair().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<NotionalBracketForPairResponseInner>>).
|
nodiscard |
Notional Bracket for Symbol (USER_DATA).
GET /dapi/v2/leverageBracket.
Get the symbol's notional bracket list.
Weight: 1 (after CM migration: 1 with symbol / 2 without symbol)
Security Type: USER_DATA
|
inline |
Asynchronous notional_bracket_for_symbol().
Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<NotionalBracketForSymbolResponseInner>>).
|
nodiscard |
User Commission Rate (USER_DATA).
GET /dapi/v1/commissionRate.
Query user commission rate
Weight(IP): 20
Security Type: USER_DATA
|
inline |
Asynchronous user_commission_rate().
Completes with void(std::exception_ptr, common::RestApiResponse<UserCommissionRateResponse>).