|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | ticker |
| Unique identifier for the market. | |
| ExchangeIndex | exchange_index {} |
| FixedPointDollars | total_traded_dollars |
| Total spent on this market in dollars. | |
| FixedPointCount | position_fp |
| String representation of the number of contracts bought in this market. | |
| FixedPointDollars | market_exposure_dollars |
| Cost of the aggregate market position in dollars. | |
| FixedPointDollars | realized_pnl_dollars |
| Locked in profit and loss, in dollars. | |
| FixedPointDollars | fees_paid_dollars |
| Fees paid on fill orders, in dollars. | |
| std::string | last_updated_ts |
| Last time the position is updated. | |
| std::string kalshi::MarketPosition::ticker |
Unique identifier for the market.
| ExchangeIndex kalshi::MarketPosition::exchange_index {} |
| FixedPointDollars kalshi::MarketPosition::total_traded_dollars |
Total spent on this market in dollars.
| FixedPointCount kalshi::MarketPosition::position_fp |
String representation of the number of contracts bought in this market.
| FixedPointDollars kalshi::MarketPosition::market_exposure_dollars |
Cost of the aggregate market position in dollars.
| FixedPointDollars kalshi::MarketPosition::realized_pnl_dollars |
Locked in profit and loss, in dollars.
| FixedPointDollars kalshi::MarketPosition::fees_paid_dollars |
Fees paid on fill orders, in dollars.
| std::string kalshi::MarketPosition::last_updated_ts |
Last time the position is updated.