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

#include <kalshi/models.hpp>

Public Attributes

std::string id
 Stable index ID, e.g.
 
std::string name
 Index name, e.g.
 
std::string family
 Index family, e.g.
 
std::optional< std::string > gics_code
 GICS sector code, for sector indexes only.
 
std::optional< std::string > sector
 GICS sector name, for sector indexes only.
 
std::string currency
 ISO 4217 currency of the index, e.g.
 
std::string units
 Unit of index values; always index_points.
 
MarketIndexSession session
 
bool available {}
 False while the index has no data source; such an index serves no values.
 
std::optional< MarketIndexLatest > latest
 

Member Data Documentation

◆ id

std::string kalshi::MarketIndex::id

Stable index ID, e.g.

◆ name

std::string kalshi::MarketIndex::name

Index name, e.g.

◆ family

std::string kalshi::MarketIndex::family

Index family, e.g.

◆ gics_code

std::optional<std::string> kalshi::MarketIndex::gics_code

GICS sector code, for sector indexes only.

◆ sector

std::optional<std::string> kalshi::MarketIndex::sector

GICS sector name, for sector indexes only.

◆ currency

std::string kalshi::MarketIndex::currency

ISO 4217 currency of the index, e.g.

◆ units

std::string kalshi::MarketIndex::units

Unit of index values; always index_points.

◆ session

MarketIndexSession kalshi::MarketIndex::session

◆ available

bool kalshi::MarketIndex::available {}

False while the index has no data source; such an index serves no values.

◆ latest

std::optional<MarketIndexLatest> kalshi::MarketIndex::latest

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