|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#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. | |
| std::string kalshi::WeatherIndexCalibration::config_version |
Configuration version (e.g.
| std::optional<std::int64_t> kalshi::WeatherIndexCalibration::published_at_ms |
When the record was published, unix milliseconds UTC.
| 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.
| std::optional<std::string> kalshi::WeatherIndexCalibration::change_reason |
Why the configuration changed.
| std::optional<std::int64_t> kalshi::WeatherIndexCalibration::calibration_window_start_ms |
Start of the trailing observation window the offsets were estimated from.
| std::optional<std::int64_t> kalshi::WeatherIndexCalibration::calibration_window_end_ms |
End of the calibration window (exclusive).
| double kalshi::WeatherIndexCalibration::city_reference_c {} |
City reference B_c in Celsius: the weight-dot-offset sum over all configured member stations.
| std::vector<WeatherIndexCalibrationStation> kalshi::WeatherIndexCalibration::stations |
Configured member stations, in configuration order.