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

#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.
 

Member Data Documentation

◆ ticker

std::string kalshi::Settlement::ticker

The ticker symbol of the market that was settled.

◆ exchange_index

ExchangeIndex kalshi::Settlement::exchange_index {}

◆ event_ticker

std::string kalshi::Settlement::event_ticker

The event ticker symbol of the market that was settled.

◆ market_result

SettlementMarketResult kalshi::Settlement::market_result {}

The outcome of the market settlement.

◆ yes_count_fp

FixedPointCount kalshi::Settlement::yes_count_fp

String representation of the number of YES contracts owned at the time of settlement.

◆ yes_total_cost_dollars

FixedPointDollars kalshi::Settlement::yes_total_cost_dollars

Total cost basis of all YES contracts in fixed-point dollars.

◆ no_count_fp

FixedPointCount kalshi::Settlement::no_count_fp

String representation of the number of NO contracts owned at the time of settlement.

◆ no_total_cost_dollars

FixedPointDollars kalshi::Settlement::no_total_cost_dollars

Total cost basis of all NO contracts in fixed-point dollars.

◆ revenue

std::int64_t kalshi::Settlement::revenue {}

Total revenue earned from this settlement in cents (winning contracts pay out 100 cents each).

◆ settled_time

std::string kalshi::Settlement::settled_time

Timestamp when the market was settled and payouts were processed.

◆ fee_cost

FixedPointDollars kalshi::Settlement::fee_cost

Total fees paid in fixed point dollars.

◆ value

std::optional<std::int64_t> kalshi::Settlement::value

Payout of a single yes contract in cents.


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