|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | order_id |
| std::string | user_id |
| Unique identifier for users. | |
| std::string | client_order_id |
| std::string | ticker |
| std::optional< Side > | side |
| Deprecated. | |
| std::optional< Action > | action |
| Deprecated. | |
| OutcomeSide | outcome_side {} |
| The outcome side this order is positioned for. | |
| BookSide | book_side {} |
| Same directional bit as outcome_side in book vocabulary. | |
| OrderType | type {} |
| OrderStatus | status {} |
| FixedPointDollars | yes_price_dollars |
| The yes price for this order in fixed-point dollars. | |
| FixedPointDollars | no_price_dollars |
| The no price for this order in fixed-point dollars. | |
| FixedPointCount | fill_count_fp |
| String representation of the number of contracts that have been filled. | |
| FixedPointCount | remaining_count_fp |
| String representation of the remaining contracts for this order. | |
| FixedPointCount | initial_count_fp |
| String representation of the initial size of the order (contract units) | |
| FixedPointDollars | taker_fill_cost_dollars |
| The cost of filled taker orders in dollars. | |
| FixedPointDollars | maker_fill_cost_dollars |
| The cost of filled maker orders in dollars. | |
| FixedPointDollars | taker_fees_dollars |
| Fees paid on filled taker contracts, in dollars. | |
| FixedPointDollars | maker_fees_dollars |
| Fees paid on filled maker contracts, in dollars. | |
| std::optional< std::string > | expiration_time |
| std::optional< std::string > | created_time |
| std::optional< std::string > | last_update_time |
| The last update to an order (modify, cancel, fill) | |
| std::optional< SelfTradePreventionType > | self_trade_prevention_type |
| std::optional< std::string > | order_group_id |
| The order group this order is part of. | |
| std::optional< bool > | cancel_order_on_pause |
| If this flag is set to true, the order will be canceled if the order is open and trading on the exchange is paused for any reason. | |
| std::optional< std::int64_t > | subaccount_number |
| Subaccount number (0 for primary, 1-63 for subaccounts). | |
| std::optional< ExchangeIndex > | exchange_index |
| std::string kalshi::Order::order_id |
| std::string kalshi::Order::user_id |
Unique identifier for users.
| std::string kalshi::Order::client_order_id |
| std::string kalshi::Order::ticker |
| std::optional<Side> kalshi::Order::side |
Deprecated.
| std::optional<Action> kalshi::Order::action |
Deprecated.
| OutcomeSide kalshi::Order::outcome_side {} |
The outcome side this order is positioned for.
| BookSide kalshi::Order::book_side {} |
Same directional bit as outcome_side in book vocabulary.
| OrderType kalshi::Order::type {} |
| OrderStatus kalshi::Order::status {} |
| FixedPointDollars kalshi::Order::yes_price_dollars |
The yes price for this order in fixed-point dollars.
| FixedPointDollars kalshi::Order::no_price_dollars |
The no price for this order in fixed-point dollars.
| FixedPointCount kalshi::Order::fill_count_fp |
String representation of the number of contracts that have been filled.
| FixedPointCount kalshi::Order::remaining_count_fp |
String representation of the remaining contracts for this order.
| FixedPointCount kalshi::Order::initial_count_fp |
String representation of the initial size of the order (contract units)
| FixedPointDollars kalshi::Order::taker_fill_cost_dollars |
The cost of filled taker orders in dollars.
| FixedPointDollars kalshi::Order::maker_fill_cost_dollars |
The cost of filled maker orders in dollars.
| FixedPointDollars kalshi::Order::taker_fees_dollars |
Fees paid on filled taker contracts, in dollars.
| FixedPointDollars kalshi::Order::maker_fees_dollars |
Fees paid on filled maker contracts, in dollars.
| std::optional<std::string> kalshi::Order::expiration_time |
| std::optional<std::string> kalshi::Order::created_time |
| std::optional<std::string> kalshi::Order::last_update_time |
The last update to an order (modify, cancel, fill)
| std::optional<SelfTradePreventionType> kalshi::Order::self_trade_prevention_type |
| std::optional<std::string> kalshi::Order::order_group_id |
The order group this order is part of.
| std::optional<bool> kalshi::Order::cancel_order_on_pause |
If this flag is set to true, the order will be canceled if the order is open and trading on the exchange is paused for any reason.
| std::optional<std::int64_t> kalshi::Order::subaccount_number |
Subaccount number (0 for primary, 1-63 for subaccounts).
| std::optional<ExchangeIndex> kalshi::Order::exchange_index |