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

#include <kalshi/models.hpp>

Public Attributes

std::string config_version
 Configuration version (e.g.
 
std::optional< std::int64_t > published_at_ms
 When the record was published, unix milliseconds UTC.
 
std::int64_t effective_at_ms {}
 The record governs event minutes at or after this time (unix milliseconds UTC), until superseded by the next record.
 
std::optional< std::string > change_reason
 Why the configuration changed.
 
std::optional< std::int64_t > calibration_window_start_ms
 Start of the trailing observation window the offsets were estimated from.
 
std::optional< std::int64_t > calibration_window_end_ms
 End of the calibration window (exclusive).
 
double city_reference_c {}
 City reference B_c in Celsius: the weight-dot-offset sum over all configured member stations.
 
std::vector< WeatherIndexCalibrationStation > stations
 Configured member stations, in configuration order.
 

Member Data Documentation

◆ config_version

std::string kalshi::WeatherIndexCalibration::config_version

Configuration version (e.g.

◆ published_at_ms

std::optional<std::int64_t> kalshi::WeatherIndexCalibration::published_at_ms

When the record was published, unix milliseconds UTC.

◆ effective_at_ms

std::int64_t kalshi::WeatherIndexCalibration::effective_at_ms {}

The record governs event minutes at or after this time (unix milliseconds UTC), until superseded by the next record.

◆ change_reason

std::optional<std::string> kalshi::WeatherIndexCalibration::change_reason

Why the configuration changed.

◆ calibration_window_start_ms

std::optional<std::int64_t> kalshi::WeatherIndexCalibration::calibration_window_start_ms

Start of the trailing observation window the offsets were estimated from.

◆ calibration_window_end_ms

std::optional<std::int64_t> kalshi::WeatherIndexCalibration::calibration_window_end_ms

End of the calibration window (exclusive).

◆ city_reference_c

double kalshi::WeatherIndexCalibration::city_reference_c {}

City reference B_c in Celsius: the weight-dot-offset sum over all configured member stations.

◆ stations

std::vector<WeatherIndexCalibrationStation> kalshi::WeatherIndexCalibration::stations

Configured member stations, in configuration order.


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