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

Query parameters for get_weather_index. More...

#include <kalshi/models.hpp>

Public Attributes

std::optional< std::int64_t > from
 Window start, unix milliseconds (inclusive).
 
std::optional< std::int64_t > to
 Window end, unix milliseconds (inclusive).
 
std::optional< std::int64_t > last_sec
 Trailing window in seconds; equivalent to from=now-last_sec, to=now.
 
std::optional< bool > detailed
 Include per-station audit readings on every point.
 

Detailed Description

Query parameters for get_weather_index.

Member Data Documentation

◆ from

std::optional<std::int64_t> kalshi::GetWeatherIndexParams::from

Window start, unix milliseconds (inclusive).

◆ to

std::optional<std::int64_t> kalshi::GetWeatherIndexParams::to

Window end, unix milliseconds (inclusive).

◆ last_sec

std::optional<std::int64_t> kalshi::GetWeatherIndexParams::last_sec

Trailing window in seconds; equivalent to from=now-last_sec, to=now.

◆ detailed

std::optional<bool> kalshi::GetWeatherIndexParams::detailed

Include per-station audit readings on every point.


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