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

#include <kalshi/models.hpp>

Public Attributes

std::string event_ticker
 Unique identifier for events.
 
FixedPointDollars total_cost_dollars
 Total spent on this event in dollars.
 
FixedPointCount total_cost_shares_fp
 String representation of the total number of shares traded on this event (including both YES and NO contracts)
 
FixedPointDollars event_exposure_dollars
 Cost of the aggregate event 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.
 

Member Data Documentation

◆ event_ticker

std::string kalshi::EventPosition::event_ticker

Unique identifier for events.

◆ total_cost_dollars

FixedPointDollars kalshi::EventPosition::total_cost_dollars

Total spent on this event in dollars.

◆ total_cost_shares_fp

FixedPointCount kalshi::EventPosition::total_cost_shares_fp

String representation of the total number of shares traded on this event (including both YES and NO contracts)

◆ event_exposure_dollars

FixedPointDollars kalshi::EventPosition::event_exposure_dollars

Cost of the aggregate event position in dollars.

◆ realized_pnl_dollars

FixedPointDollars kalshi::EventPosition::realized_pnl_dollars

Locked in profit and loss, in dollars.

◆ fees_paid_dollars

FixedPointDollars kalshi::EventPosition::fees_paid_dollars

Fees paid on fill orders, in dollars.


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