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

Private fill information for authenticated user. More...

#include <kalshi/ws_models.hpp>

Public Attributes

std::string trade_id
 Unique identifier for fills.
 
std::string order_id
 Unique identifier for orders.
 
std::optional< std::string > client_order_id
 Optional client-provided order ID.
 
std::string market_ticker
 Unique identifier for markets.
 
std::int64_t exchange_index {}
 Identifier for the exchange shard where the fill occurred.
 
bool is_taker {}
 If you were a taker on this fill.
 
kalshi::Side side {}
 Deprecated.
 
std::int64_t ts {}
 Deprecated - Unix timestamp for when the update happened (in seconds).
 
std::int64_t ts_ms {}
 Unix timestamp for when the update happened (in milliseconds)
 
std::string yes_price_dollars
 Price for the yes side of the fill in dollars.
 
std::string count_fp
 Fixed-point contracts filled (2 decimals)
 
std::string fee_cost
 Exchange fee paid for this fill in fixed-point dollars.
 
OrderAction action {}
 Deprecated.
 
std::string post_position_fp
 Fixed-point position after the fill (2 decimals)
 
kalshi::Side purchased_side {}
 Deprecated.
 
kalshi::OutcomeSide outcome_side {}
 The outcome side this fill positioned the user for.
 
kalshi::BookSide book_side {}
 Same directional bit as outcome_side in book vocabulary.
 
std::optional< std::int64_t > subaccount
 Optional subaccount number for the fill.
 

Detailed Description

Private fill information for authenticated user.

Member Data Documentation

◆ trade_id

std::string kalshi::ws::Fill::trade_id

Unique identifier for fills.

◆ order_id

std::string kalshi::ws::Fill::order_id

Unique identifier for orders.

◆ client_order_id

std::optional<std::string> kalshi::ws::Fill::client_order_id

Optional client-provided order ID.

◆ market_ticker

std::string kalshi::ws::Fill::market_ticker

Unique identifier for markets.

◆ exchange_index

std::int64_t kalshi::ws::Fill::exchange_index {}

Identifier for the exchange shard where the fill occurred.

◆ is_taker

bool kalshi::ws::Fill::is_taker {}

If you were a taker on this fill.

◆ side

kalshi::Side kalshi::ws::Fill::side {}

Deprecated.

◆ ts

std::int64_t kalshi::ws::Fill::ts {}

Deprecated - Unix timestamp for when the update happened (in seconds).

◆ ts_ms

std::int64_t kalshi::ws::Fill::ts_ms {}

Unix timestamp for when the update happened (in milliseconds)

◆ yes_price_dollars

std::string kalshi::ws::Fill::yes_price_dollars

Price for the yes side of the fill in dollars.

◆ count_fp

std::string kalshi::ws::Fill::count_fp

Fixed-point contracts filled (2 decimals)

◆ fee_cost

std::string kalshi::ws::Fill::fee_cost

Exchange fee paid for this fill in fixed-point dollars.

◆ action

OrderAction kalshi::ws::Fill::action {}

Deprecated.

◆ post_position_fp

std::string kalshi::ws::Fill::post_position_fp

Fixed-point position after the fill (2 decimals)

◆ purchased_side

kalshi::Side kalshi::ws::Fill::purchased_side {}

Deprecated.

◆ outcome_side

kalshi::OutcomeSide kalshi::ws::Fill::outcome_side {}

The outcome side this fill positioned the user for.

◆ book_side

kalshi::BookSide kalshi::ws::Fill::book_side {}

Same directional bit as outcome_side in book vocabulary.

◆ subaccount

std::optional<std::int64_t> kalshi::ws::Fill::subaccount

Optional subaccount number for the fill.


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