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

#include <kalshi/models.hpp>

Public Attributes

std::string trade_id
 Unique identifier for this trade.
 
std::string ticker
 Unique identifier for the market.
 
FixedPointCount count_fp
 String representation of the number of contracts bought or sold in this trade.
 
FixedPointDollars yes_price_dollars
 Yes price for this trade in dollars.
 
FixedPointDollars no_price_dollars
 No price for this trade in dollars.
 
std::optional< Side > taker_side
 Deprecated.
 
OutcomeSide taker_outcome_side {}
 The outcome side the taker is positioned for.
 
BookSide taker_book_side {}
 Same directional bit as taker_outcome_side in book vocabulary.
 
std::string created_time
 Timestamp when this trade was executed.
 
bool is_block_trade {}
 True if this trade was matched off-book as a block trade (e.g.
 

Member Data Documentation

◆ trade_id

std::string kalshi::Trade::trade_id

Unique identifier for this trade.

◆ ticker

std::string kalshi::Trade::ticker

Unique identifier for the market.

◆ count_fp

FixedPointCount kalshi::Trade::count_fp

String representation of the number of contracts bought or sold in this trade.

◆ yes_price_dollars

FixedPointDollars kalshi::Trade::yes_price_dollars

Yes price for this trade in dollars.

◆ no_price_dollars

FixedPointDollars kalshi::Trade::no_price_dollars

No price for this trade in dollars.

◆ taker_side

std::optional<Side> kalshi::Trade::taker_side

Deprecated.

◆ taker_outcome_side

OutcomeSide kalshi::Trade::taker_outcome_side {}

The outcome side the taker is positioned for.

◆ taker_book_side

BookSide kalshi::Trade::taker_book_side {}

Same directional bit as taker_outcome_side in book vocabulary.

◆ created_time

std::string kalshi::Trade::created_time

Timestamp when this trade was executed.

◆ is_block_trade

bool kalshi::Trade::is_block_trade {}

True if this trade was matched off-book as a block trade (e.g.


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