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

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

Member Data Documentation

◆ ticker

std::string kalshi::MarketPosition::ticker

Unique identifier for the market.

◆ exchange_index

ExchangeIndex kalshi::MarketPosition::exchange_index {}

◆ total_traded_dollars

FixedPointDollars kalshi::MarketPosition::total_traded_dollars

Total spent on this market in dollars.

◆ position_fp

FixedPointCount kalshi::MarketPosition::position_fp

String representation of the number of contracts bought in this market.

◆ market_exposure_dollars

FixedPointDollars kalshi::MarketPosition::market_exposure_dollars

Cost of the aggregate market position in dollars.

◆ realized_pnl_dollars

FixedPointDollars kalshi::MarketPosition::realized_pnl_dollars

Locked in profit and loss, in dollars.

◆ fees_paid_dollars

FixedPointDollars kalshi::MarketPosition::fees_paid_dollars

Fees paid on fill orders, in dollars.

◆ last_updated_ts

std::string kalshi::MarketPosition::last_updated_ts

Last time the position is updated.


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