kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
kalshi::GetBalanceResponse Struct Reference

#include <kalshi/models.hpp>

Public Attributes

std::int64_t balance {}
 Member's available balance in cents for the requested account and exchange index.
 
FixedPointDollars balance_dollars
 Member's available balance as a fixed-point dollar string for the requested account and exchange index.
 
std::int64_t portfolio_value {}
 Member's portfolio value in cents for the requested account and exchange index.
 
std::int64_t updated_ts {}
 Unix timestamp of the last update to the balance.
 
std::optional< std::vector< IndexedBalance > > balance_breakdown
 User balance breakdown per exchange instance, omitted only when using a subaccount- restricted API key.
 

Member Data Documentation

◆ balance

std::int64_t kalshi::GetBalanceResponse::balance {}

Member's available balance in cents for the requested account and exchange index.

◆ balance_dollars

FixedPointDollars kalshi::GetBalanceResponse::balance_dollars

Member's available balance as a fixed-point dollar string for the requested account and exchange index.

◆ portfolio_value

std::int64_t kalshi::GetBalanceResponse::portfolio_value {}

Member's portfolio value in cents for the requested account and exchange index.

◆ updated_ts

std::int64_t kalshi::GetBalanceResponse::updated_ts {}

Unix timestamp of the last update to the balance.

◆ balance_breakdown

std::optional<std::vector<IndexedBalance> > kalshi::GetBalanceResponse::balance_breakdown

User balance breakdown per exchange instance, omitted only when using a subaccount- restricted API key.


The documentation for this struct was generated from the following file: