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

#include <kalshi/models.hpp>

Public Attributes

std::string station_id
 Member station (e.g.
 
std::string code
 Disposition: ok (accepted), missing (no eligible observation), late (received after the deadline; diagnostic only), a QC rejection (range, rate_spatial, extreme), or pending (raw reading on an incomplete minute, not yet quality-controlled).
 
std::optional< std::string > source
 hf_asos (exact-minute primary) or metar (carried-forward official observation).
 
std::optional< double > temp_f
 Raw reported temperature in Fahrenheit (unrounded — only the published index value carries output rounding).
 
std::optional< std::int64_t > obs_time_ms
 Observation time for carried-forward fallbacks (differs from the event minute).
 
std::optional< std::int64_t > received_at_ms
 Local wire-receipt time backing the eligibility deadline.
 
std::optional< std::string > primary_code
 Why the primary observation was passed over when a fallback was selected instead.
 

Member Data Documentation

◆ station_id

std::string kalshi::WeatherIndexStationReading::station_id

Member station (e.g.

◆ code

std::string kalshi::WeatherIndexStationReading::code

Disposition: ok (accepted), missing (no eligible observation), late (received after the deadline; diagnostic only), a QC rejection (range, rate_spatial, extreme), or pending (raw reading on an incomplete minute, not yet quality-controlled).

◆ source

std::optional<std::string> kalshi::WeatherIndexStationReading::source

hf_asos (exact-minute primary) or metar (carried-forward official observation).

◆ temp_f

std::optional<double> kalshi::WeatherIndexStationReading::temp_f

Raw reported temperature in Fahrenheit (unrounded — only the published index value carries output rounding).

◆ obs_time_ms

std::optional<std::int64_t> kalshi::WeatherIndexStationReading::obs_time_ms

Observation time for carried-forward fallbacks (differs from the event minute).

◆ received_at_ms

std::optional<std::int64_t> kalshi::WeatherIndexStationReading::received_at_ms

Local wire-receipt time backing the eligibility deadline.

◆ primary_code

std::optional<std::string> kalshi::WeatherIndexStationReading::primary_code

Why the primary observation was passed over when a fallback was selected instead.


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