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

#include <account_api.hpp>

Public Member Functions

 AccountApi (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< std::vector< AccountFundingFlowResponseInner > > account_funding_flow (const AccountFundingFlowParams &params) const
 Account Funding Flow (USER_DATA).
template<class CompletionToken>
auto async_account_funding_flow (const AccountFundingFlowParams &params, CompletionToken &&token) const
 Asynchronous account_funding_flow().
common::RestApiResponse< OptionMarginAccountInformationResponse > option_margin_account_information (const OptionMarginAccountInformationParams &params={}) const
 Option Margin Account Information (USER_DATA).
template<class CompletionToken>
auto async_option_margin_account_information (const OptionMarginAccountInformationParams &params, CompletionToken &&token) const
 Asynchronous option_margin_account_information().

Constructor & Destructor Documentation

◆ AccountApi()

binance::derivatives_trading_options::rest_api::AccountApi::AccountApi ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ account_funding_flow()

common::RestApiResponse< std::vector< AccountFundingFlowResponseInner > > binance::derivatives_trading_options::rest_api::AccountApi::account_funding_flow ( const AccountFundingFlowParams & params) const
nodiscard

Account Funding Flow (USER_DATA).

GET /eapi/v1/bill.

Query account funding flows.

Weight(IP): 1

Security Type: USER_DATA

Notes:

  • Only support querying data in the past 3 months

See https://developers.binance.com/en/docs/catalog/core-trading-derivatives-trading-options/api/rest-api/account#account-funding-flow

◆ async_account_funding_flow()

template<class CompletionToken>
auto binance::derivatives_trading_options::rest_api::AccountApi::async_account_funding_flow ( const AccountFundingFlowParams & params,
CompletionToken && token ) const
inline

Asynchronous account_funding_flow().

Completes with void(std::exception_ptr, common::RestApiResponse<std::vector<AccountFundingFlowResponseInner>>).

◆ option_margin_account_information()

common::RestApiResponse< OptionMarginAccountInformationResponse > binance::derivatives_trading_options::rest_api::AccountApi::option_margin_account_information ( const OptionMarginAccountInformationParams & params = {}) const
nodiscard

Option Margin Account Information (USER_DATA).

GET /eapi/v1/marginAccount.

Get current account information.

Weight(IP): 3

Security Type: USER_DATA

See https://developers.binance.com/en/docs/catalog/core-trading-derivatives-trading-options/api/rest-api/account#option-margin-account-information

◆ async_option_margin_account_information()

template<class CompletionToken>
auto binance::derivatives_trading_options::rest_api::AccountApi::async_option_margin_account_information ( const OptionMarginAccountInformationParams & params,
CompletionToken && token ) const
inline