|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#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. | |
| std::string kalshi::WeatherIndexStationReading::station_id |
Member station (e.g.
| 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).
| std::optional<std::string> kalshi::WeatherIndexStationReading::source |
hf_asos (exact-minute primary) or metar (carried-forward official observation).
| std::optional<double> kalshi::WeatherIndexStationReading::temp_f |
Raw reported temperature in Fahrenheit (unrounded — only the published index value carries output rounding).
| std::optional<std::int64_t> kalshi::WeatherIndexStationReading::obs_time_ms |
Observation time for carried-forward fallbacks (differs from the event minute).
| std::optional<std::int64_t> kalshi::WeatherIndexStationReading::received_at_ms |
Local wire-receipt time backing the eligibility deadline.
| std::optional<std::string> kalshi::WeatherIndexStationReading::primary_code |
Why the primary observation was passed over when a fallback was selected instead.