|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | ticker |
| The ticker symbol of the market that was settled. | |
| ExchangeIndex | exchange_index {} |
| std::string | event_ticker |
| The event ticker symbol of the market that was settled. | |
| SettlementMarketResult | market_result {} |
| The outcome of the market settlement. | |
| FixedPointCount | yes_count_fp |
| String representation of the number of YES contracts owned at the time of settlement. | |
| FixedPointDollars | yes_total_cost_dollars |
| Total cost basis of all YES contracts in fixed-point dollars. | |
| FixedPointCount | no_count_fp |
| String representation of the number of NO contracts owned at the time of settlement. | |
| FixedPointDollars | no_total_cost_dollars |
| Total cost basis of all NO contracts in fixed-point dollars. | |
| std::int64_t | revenue {} |
| Total revenue earned from this settlement in cents (winning contracts pay out 100 cents each). | |
| std::string | settled_time |
| Timestamp when the market was settled and payouts were processed. | |
| FixedPointDollars | fee_cost |
| Total fees paid in fixed point dollars. | |
| std::optional< std::int64_t > | value |
| Payout of a single yes contract in cents. | |
| std::string kalshi::Settlement::ticker |
The ticker symbol of the market that was settled.
| ExchangeIndex kalshi::Settlement::exchange_index {} |
| std::string kalshi::Settlement::event_ticker |
The event ticker symbol of the market that was settled.
| SettlementMarketResult kalshi::Settlement::market_result {} |
The outcome of the market settlement.
| FixedPointCount kalshi::Settlement::yes_count_fp |
String representation of the number of YES contracts owned at the time of settlement.
| FixedPointDollars kalshi::Settlement::yes_total_cost_dollars |
Total cost basis of all YES contracts in fixed-point dollars.
| FixedPointCount kalshi::Settlement::no_count_fp |
String representation of the number of NO contracts owned at the time of settlement.
| FixedPointDollars kalshi::Settlement::no_total_cost_dollars |
Total cost basis of all NO contracts in fixed-point dollars.
| std::int64_t kalshi::Settlement::revenue {} |
Total revenue earned from this settlement in cents (winning contracts pay out 100 cents each).
| std::string kalshi::Settlement::settled_time |
Timestamp when the market was settled and payouts were processed.
| FixedPointDollars kalshi::Settlement::fee_cost |
Total fees paid in fixed point dollars.
| std::optional<std::int64_t> kalshi::Settlement::value |
Payout of a single yes contract in cents.