#include <kalshi/models.hpp>
◆ ticker
| std::string kalshi::CreateOrderRequest::ticker |
◆ client_order_id
| std::optional<std::string> kalshi::CreateOrderRequest::client_order_id |
◆ side
| Side kalshi::CreateOrderRequest::side {} |
◆ action
| Action kalshi::CreateOrderRequest::action {} |
◆ count
| std::optional<std::int64_t> kalshi::CreateOrderRequest::count |
Order quantity in contracts (whole contracts only).
◆ count_fp
String representation of the order quantity in contracts.
◆ yes_price
| std::optional<std::int64_t> kalshi::CreateOrderRequest::yes_price |
◆ no_price
| std::optional<std::int64_t> kalshi::CreateOrderRequest::no_price |
◆ yes_price_dollars
Submitting price of the Yes side in fixed-point dollars.
◆ no_price_dollars
Submitting price of the No side in fixed-point dollars.
◆ expiration_ts
| std::optional<std::int64_t> kalshi::CreateOrderRequest::expiration_ts |
Optional Unix timestamp in seconds for when the order expires.
◆ time_in_force
| std::optional<TimeInForce> kalshi::CreateOrderRequest::time_in_force |
Specifies how long the order remains active.
◆ buy_max_cost
| std::optional<std::int64_t> kalshi::CreateOrderRequest::buy_max_cost |
◆ post_only
| std::optional<bool> kalshi::CreateOrderRequest::post_only |
◆ reduce_only
| std::optional<bool> kalshi::CreateOrderRequest::reduce_only |
◆ sell_position_floor
| std::optional<std::int64_t> kalshi::CreateOrderRequest::sell_position_floor |
Deprecated: Use reduce_only instead.
◆ self_trade_prevention_type
◆ order_group_id
| std::optional<std::string> kalshi::CreateOrderRequest::order_group_id |
The order group this order is part of.
◆ cancel_order_on_pause
| std::optional<bool> kalshi::CreateOrderRequest::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.
◆ subaccount
| std::optional<std::int64_t> kalshi::CreateOrderRequest::subaccount |
The subaccount number to use for this order.
◆ exchange_index
| std::optional<ExchangeIndex> kalshi::CreateOrderRequest::exchange_index |
The documentation for this struct was generated from the following file: