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

#include <wallet_api.hpp>

Public Member Functions

 WalletApi (std::shared_ptr< common::RestClient > client)
common::RestApiResponse< GetPortfolioResponse > get_portfolio (const GetPortfolioParams &params) const
 Get Portfolio (PREDICTION_TRADE).
template<class CompletionToken>
auto async_get_portfolio (const GetPortfolioParams &params, CompletionToken &&token) const
 Asynchronous get_portfolio().
common::RestApiResponse< GetQuotaStatusResponse > get_quota_status (const GetQuotaStatusParams &params={}) const
 Get Quota Status (PREDICTION_TRADE).
template<class CompletionToken>
auto async_get_quota_status (const GetQuotaStatusParams &params, CompletionToken &&token) const
 Asynchronous get_quota_status().
common::RestApiResponse< ListPredictionWalletsResponse > list_prediction_wallets (const ListPredictionWalletsParams &params={}) const
 List Prediction Wallets (PREDICTION_TRADE).
template<class CompletionToken>
auto async_list_prediction_wallets (const ListPredictionWalletsParams &params, CompletionToken &&token) const
 Asynchronous list_prediction_wallets().
common::RestApiResponse< QueryPaymentOptionBalancesResponse > query_payment_option_balances (const QueryPaymentOptionBalancesParams &params={}) const
 Query Payment Option Balances (PREDICTION_TRADE).
template<class CompletionToken>
auto async_query_payment_option_balances (const QueryPaymentOptionBalancesParams &params, CompletionToken &&token) const
 Asynchronous query_payment_option_balances().

Constructor & Destructor Documentation

◆ WalletApi()

binance::w3w_prediction::rest_api::WalletApi::WalletApi ( std::shared_ptr< common::RestClient > client)
explicit

Member Function Documentation

◆ get_portfolio()

common::RestApiResponse< GetPortfolioResponse > binance::w3w_prediction::rest_api::WalletApi::get_portfolio ( const GetPortfolioParams & params) const
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

See https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-portfolio

◆ async_get_portfolio()

template<class CompletionToken>
auto binance::w3w_prediction::rest_api::WalletApi::async_get_portfolio ( const GetPortfolioParams & params,
CompletionToken && token ) const
inline

Asynchronous get_portfolio().

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

◆ get_quota_status()

common::RestApiResponse< GetQuotaStatusResponse > binance::w3w_prediction::rest_api::WalletApi::get_quota_status ( const GetQuotaStatusParams & params = {}) const
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

See https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#get-quota-status

◆ async_get_quota_status()

template<class CompletionToken>
auto binance::w3w_prediction::rest_api::WalletApi::async_get_quota_status ( const GetQuotaStatusParams & params,
CompletionToken && token ) const
inline

Asynchronous get_quota_status().

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

◆ list_prediction_wallets()

common::RestApiResponse< ListPredictionWalletsResponse > binance::w3w_prediction::rest_api::WalletApi::list_prediction_wallets ( const ListPredictionWalletsParams & params = {}) const
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

See https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#list-prediction-wallets

◆ async_list_prediction_wallets()

template<class CompletionToken>
auto binance::w3w_prediction::rest_api::WalletApi::async_list_prediction_wallets ( const ListPredictionWalletsParams & params,
CompletionToken && token ) const
inline

Asynchronous list_prediction_wallets().

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

◆ query_payment_option_balances()

common::RestApiResponse< QueryPaymentOptionBalancesResponse > binance::w3w_prediction::rest_api::WalletApi::query_payment_option_balances ( const QueryPaymentOptionBalancesParams & params = {}) const
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

See https://developers.binance.com/en/docs/catalog/web3-wallet-prediction-trading/api/rest-api/wallet#query-payment-option-balances

◆ async_query_payment_option_balances()

template<class CompletionToken>
auto binance::w3w_prediction::rest_api::WalletApi::async_query_payment_option_balances ( const QueryPaymentOptionBalancesParams & params,
CompletionToken && token ) const
inline

Asynchronous query_payment_option_balances().

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