|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::optional< std::int64_t > | subaccount |
| Optional subaccount number to use for this amendment (0 for primary, 1-63 for subaccounts) | |
| std::string | ticker |
| Market ticker. | |
| Side | side {} |
| Side of the order. | |
| Action | action {} |
| Action of the order. | |
| std::optional< std::string > | client_order_id |
| The original client-specified order ID to be amended. | |
| std::optional< std::string > | updated_client_order_id |
| The new client-specified order ID after amendment. | |
| std::optional< std::int64_t > | yes_price |
| Updated yes price for the order in cents. | |
| std::optional< std::int64_t > | no_price |
| Updated no price for the order in cents. | |
| std::optional< FixedPointDollars > | yes_price_dollars |
| Updated yes price for the order in fixed-point dollars. | |
| std::optional< FixedPointDollars > | no_price_dollars |
| Updated no price for the order in fixed-point dollars. | |
| std::optional< std::int64_t > | count |
| Updated quantity for the order (whole contracts only). | |
| std::optional< FixedPointCount > | count_fp |
| String representation of the updated quantity for the order. | |
| std::optional< ExchangeIndex > | exchange_index |
| Exchange shard index. | |
| std::optional<std::int64_t> kalshi::AmendOrderRequest::subaccount |
Optional subaccount number to use for this amendment (0 for primary, 1-63 for subaccounts)
| std::string kalshi::AmendOrderRequest::ticker |
Market ticker.
| Side kalshi::AmendOrderRequest::side {} |
Side of the order.
| Action kalshi::AmendOrderRequest::action {} |
Action of the order.
| std::optional<std::string> kalshi::AmendOrderRequest::client_order_id |
The original client-specified order ID to be amended.
| std::optional<std::string> kalshi::AmendOrderRequest::updated_client_order_id |
The new client-specified order ID after amendment.
| std::optional<std::int64_t> kalshi::AmendOrderRequest::yes_price |
Updated yes price for the order in cents.
| std::optional<std::int64_t> kalshi::AmendOrderRequest::no_price |
Updated no price for the order in cents.
| std::optional<FixedPointDollars> kalshi::AmendOrderRequest::yes_price_dollars |
Updated yes price for the order in fixed-point dollars.
| std::optional<FixedPointDollars> kalshi::AmendOrderRequest::no_price_dollars |
Updated no price for the order in fixed-point dollars.
| std::optional<std::int64_t> kalshi::AmendOrderRequest::count |
Updated quantity for the order (whole contracts only).
| std::optional<FixedPointCount> kalshi::AmendOrderRequest::count_fp |
String representation of the updated quantity for the order.
| std::optional<ExchangeIndex> kalshi::AmendOrderRequest::exchange_index |
Exchange shard index.