|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
Public trade information. More...
#include <kalshi/ws_models.hpp>
Public Attributes | |
| std::string | trade_id |
| Unique identifier for the trade. | |
| std::string | market_ticker |
| Unique market identifier. | |
| std::string | yes_price_dollars |
| Yes side price in dollars. | |
| std::string | no_price_dollars |
| No side price in dollars. | |
| std::string | count_fp |
| Fixed-point contracts traded (2 decimals) | |
| kalshi::Side | taker_side {} |
| Deprecated. | |
| kalshi::OutcomeSide | taker_outcome_side {} |
| The outcome side the taker is positioned for. | |
| kalshi::BookSide | taker_book_side {} |
| Same directional bit as taker_outcome_side in book vocabulary. | |
| bool | is_block_trade {} |
| True if the trade was matched off book as a block trade. | |
| std::int64_t | ts {} |
| Deprecated - Unix timestamp in seconds. | |
| std::int64_t | ts_ms {} |
| Unix timestamp in milliseconds. | |
Public trade information.
| std::string kalshi::ws::Trade::trade_id |
Unique identifier for the trade.
| std::string kalshi::ws::Trade::market_ticker |
Unique market identifier.
| std::string kalshi::ws::Trade::yes_price_dollars |
Yes side price in dollars.
| std::string kalshi::ws::Trade::no_price_dollars |
No side price in dollars.
| std::string kalshi::ws::Trade::count_fp |
Fixed-point contracts traded (2 decimals)
| kalshi::Side kalshi::ws::Trade::taker_side {} |
Deprecated.
| kalshi::OutcomeSide kalshi::ws::Trade::taker_outcome_side {} |
The outcome side the taker is positioned for.
| kalshi::BookSide kalshi::ws::Trade::taker_book_side {} |
Same directional bit as taker_outcome_side in book vocabulary.
| bool kalshi::ws::Trade::is_block_trade {} |
True if the trade was matched off book as a block trade.
| std::int64_t kalshi::ws::Trade::ts {} |
Deprecated - Unix timestamp in seconds.
| std::int64_t kalshi::ws::Trade::ts_ms {} |
Unix timestamp in milliseconds.