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

#include <kalshi/models.hpp>

Public Attributes

MarketIndex index
 
std::string source
 Data source of timeseries.
 
MarketIndexStatus status {}
 
std::optional< double > value
 Latest index value.
 
std::optional< std::int64_t > last_tick_ms
 Time of value, unix milliseconds.
 
std::string interval
 Point spacing of timeseries (1m).
 
std::int64_t start_ms {}
 Window start, unix milliseconds.
 
std::int64_t end_ms {}
 Window end, unix milliseconds.
 
std::vector< MarketIndexTimeseriesPoint > timeseries
 

Member Data Documentation

◆ index

MarketIndex kalshi::GetMarketIndexResponse::index

◆ source

std::string kalshi::GetMarketIndexResponse::source

Data source of timeseries.

◆ status

MarketIndexStatus kalshi::GetMarketIndexResponse::status {}

◆ value

std::optional<double> kalshi::GetMarketIndexResponse::value

Latest index value.

◆ last_tick_ms

std::optional<std::int64_t> kalshi::GetMarketIndexResponse::last_tick_ms

Time of value, unix milliseconds.

◆ interval

std::string kalshi::GetMarketIndexResponse::interval

Point spacing of timeseries (1m).

◆ start_ms

std::int64_t kalshi::GetMarketIndexResponse::start_ms {}

Window start, unix milliseconds.

◆ end_ms

std::int64_t kalshi::GetMarketIndexResponse::end_ms {}

Window end, unix milliseconds.

◆ timeseries

std::vector<MarketIndexTimeseriesPoint> kalshi::GetMarketIndexResponse::timeseries

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