|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | fill_id |
| Unique identifier for this fill. | |
| ExchangeIndex | exchange_index {} |
| std::string | trade_id |
| Unique identifier for this fill (legacy field name, same as fill_id) | |
| std::string | order_id |
| Unique identifier for the order that resulted in this fill. | |
| std::string | ticker |
| Unique identifier for the market. | |
| std::string | market_ticker |
| Unique identifier for the market (legacy field name, same as ticker) | |
| std::optional< Side > | side |
| Deprecated. | |
| std::optional< Action > | action |
| Deprecated. | |
| OutcomeSide | outcome_side {} |
| The outcome side this fill positioned the user for. | |
| BookSide | book_side {} |
| Same directional bit as outcome_side in book vocabulary. | |
| FixedPointCount | count_fp |
| String representation of the number of contracts bought or sold in this fill. | |
| FixedPointDollars | yes_price_dollars |
| Fill price for the yes side in fixed-point dollars. | |
| FixedPointDollars | no_price_dollars |
| Fill price for the no side in fixed-point dollars. | |
| bool | is_taker {} |
| If true, this fill was a taker (removed liquidity from the order book) | |
| std::optional< std::string > | created_time |
| Timestamp when this fill was executed. | |
| FixedPointDollars | fee_cost |
| Fee cost in fixed-point dollars. | |
| std::optional< std::int64_t > | subaccount_number |
| Subaccount number (0 for primary, 1-63 for subaccounts). | |
| std::optional< std::int64_t > | ts |
| Unix timestamp when this fill was executed (legacy field name) | |
| std::string kalshi::Fill::fill_id |
Unique identifier for this fill.
| ExchangeIndex kalshi::Fill::exchange_index {} |
| std::string kalshi::Fill::trade_id |
Unique identifier for this fill (legacy field name, same as fill_id)
| std::string kalshi::Fill::order_id |
Unique identifier for the order that resulted in this fill.
| std::string kalshi::Fill::ticker |
Unique identifier for the market.
| std::string kalshi::Fill::market_ticker |
Unique identifier for the market (legacy field name, same as ticker)
| std::optional<Side> kalshi::Fill::side |
Deprecated.
| std::optional<Action> kalshi::Fill::action |
Deprecated.
| OutcomeSide kalshi::Fill::outcome_side {} |
The outcome side this fill positioned the user for.
| BookSide kalshi::Fill::book_side {} |
Same directional bit as outcome_side in book vocabulary.
| FixedPointCount kalshi::Fill::count_fp |
String representation of the number of contracts bought or sold in this fill.
| FixedPointDollars kalshi::Fill::yes_price_dollars |
Fill price for the yes side in fixed-point dollars.
| FixedPointDollars kalshi::Fill::no_price_dollars |
Fill price for the no side in fixed-point dollars.
| bool kalshi::Fill::is_taker {} |
If true, this fill was a taker (removed liquidity from the order book)
| std::optional<std::string> kalshi::Fill::created_time |
Timestamp when this fill was executed.
| FixedPointDollars kalshi::Fill::fee_cost |
Fee cost in fixed-point dollars.
| std::optional<std::int64_t> kalshi::Fill::subaccount_number |
Subaccount number (0 for primary, 1-63 for subaccounts).
| std::optional<std::int64_t> kalshi::Fill::ts |
Unix timestamp when this fill was executed (legacy field name)