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

#include <wallet_api.hpp>

Public Attributes

common::Required< std::string > wallet_address
 User's prediction wallet address.
std::optional< std::string > token_id = std::nullopt
 Filter by prediction token ID.
std::optional< std::int64_t > market_id = std::nullopt
 Filter by market ID. Must be > 0.
std::optional< std::int64_t > market_topic_id = std::nullopt
 Filter by market topic ID. Must be > 0.
std::optional< bool > active_only = std::nullopt
 If true, return only active (unresolved) positions.
std::optional< std::int64_t > recv_window = std::nullopt
 Request validity window in milliseconds.

Member Data Documentation

◆ wallet_address

common::Required<std::string> binance::w3w_prediction::rest_api::GetPortfolioParams::wallet_address

User's prediction wallet address.

◆ token_id

std::optional<std::string> binance::w3w_prediction::rest_api::GetPortfolioParams::token_id = std::nullopt

Filter by prediction token ID.

◆ market_id

std::optional<std::int64_t> binance::w3w_prediction::rest_api::GetPortfolioParams::market_id = std::nullopt

Filter by market ID. Must be > 0.

◆ market_topic_id

std::optional<std::int64_t> binance::w3w_prediction::rest_api::GetPortfolioParams::market_topic_id = std::nullopt

Filter by market topic ID. Must be > 0.

◆ active_only

std::optional<bool> binance::w3w_prediction::rest_api::GetPortfolioParams::active_only = std::nullopt

If true, return only active (unresolved) positions.

◆ recv_window

std::optional<std::int64_t> binance::w3w_prediction::rest_api::GetPortfolioParams::recv_window = std::nullopt

Request validity window in milliseconds.