|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <wallet_api.hpp>
Public Member Functions | |
| WalletApi (std::shared_ptr< common::RestClient > client) | |
| common::RestApiResponse< GetPortfolioResponse > | get_portfolio (const GetPortfolioParams ¶ms) const |
| Get Portfolio (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_get_portfolio (const GetPortfolioParams ¶ms, CompletionToken &&token) const |
| Asynchronous get_portfolio(). | |
| common::RestApiResponse< GetQuotaStatusResponse > | get_quota_status (const GetQuotaStatusParams ¶ms={}) const |
| Get Quota Status (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_get_quota_status (const GetQuotaStatusParams ¶ms, CompletionToken &&token) const |
| Asynchronous get_quota_status(). | |
| common::RestApiResponse< ListPredictionWalletsResponse > | list_prediction_wallets (const ListPredictionWalletsParams ¶ms={}) const |
| List Prediction Wallets (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_list_prediction_wallets (const ListPredictionWalletsParams ¶ms, CompletionToken &&token) const |
| Asynchronous list_prediction_wallets(). | |
| common::RestApiResponse< QueryPaymentOptionBalancesResponse > | query_payment_option_balances (const QueryPaymentOptionBalancesParams ¶ms={}) const |
| Query Payment Option Balances (PREDICTION_TRADE). | |
| template<class CompletionToken> | |
| auto | async_query_payment_option_balances (const QueryPaymentOptionBalancesParams ¶ms, CompletionToken &&token) const |
| Asynchronous query_payment_option_balances(). | |
|
explicit |
|
nodiscard |
Get Portfolio (PREDICTION_TRADE).
GET /sapi/v1/w3w/wallet/prediction/pnl/portfolio.
Get the authenticated user's prediction portfolio overview including active positions count, aggregated PnL, and full position list.
Weight(IP): 1
Security Type: PREDICTION_TRADE
|
inline |
Asynchronous get_portfolio().
Completes with void(std::exception_ptr, common::RestApiResponse<GetPortfolioResponse>).
|
nodiscard |
Get Quota Status (PREDICTION_TRADE).
GET /sapi/v1/w3w/wallet/prediction/quota/limit/status.
Query the current user's daily trading quota limit and remaining allowance for prediction markets.
Weight(IP): 1
Security Type: PREDICTION_TRADE
|
inline |
Asynchronous get_quota_status().
Completes with void(std::exception_ptr, common::RestApiResponse<GetQuotaStatusResponse>).
|
nodiscard |
List Prediction Wallets (PREDICTION_TRADE).
GET /sapi/v1/w3w/wallet/prediction/wallet/list.
Get all prediction wallets registered for the authenticated user.
Weight(IP): 1
Security Type: PREDICTION_TRADE
|
inline |
Asynchronous list_prediction_wallets().
Completes with void(std::exception_ptr, common::RestApiResponse<ListPredictionWalletsResponse>).
|
nodiscard |
Query Payment Option Balances (PREDICTION_TRADE).
GET /sapi/v1/w3w/wallet/prediction/balance/payment-options.
Get available balances for each payment option that can be used for prediction trading.
Weight(IP): 1
Security Type: PREDICTION_TRADE
|
inline |
Asynchronous query_payment_option_balances().
Completes with void(std::exception_ptr, common::RestApiResponse<QueryPaymentOptionBalancesResponse>).