#include <kalshi/models.hpp>
◆ ticker
| std::string kalshi::CreateOrderV2Request::ticker |
◆ client_order_id
| std::optional<std::string> kalshi::CreateOrderV2Request::client_order_id |
◆ side
| BookSide kalshi::CreateOrderV2Request::side {} |
◆ count
String representation of the order quantity in contracts.
◆ price
Price for the order in fixed-point dollars.
◆ expiration_time
| std::optional<std::int64_t> kalshi::CreateOrderV2Request::expiration_time |
Optional Unix timestamp in seconds for when the order expires.
◆ time_in_force
| TimeInForce kalshi::CreateOrderV2Request::time_in_force {} |
Specifies how long the order remains active.
◆ post_only
| std::optional<bool> kalshi::CreateOrderV2Request::post_only |
◆ self_trade_prevention_type
◆ cancel_order_on_pause
| std::optional<bool> kalshi::CreateOrderV2Request::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.
◆ reduce_only
| std::optional<bool> kalshi::CreateOrderV2Request::reduce_only |
Specifies whether the order place count should be capped by the member's current position.
◆ subaccount
| std::optional<std::int64_t> kalshi::CreateOrderV2Request::subaccount |
The subaccount number to use for this order.
◆ order_group_id
| std::optional<std::string> kalshi::CreateOrderV2Request::order_group_id |
The order group this order is part of.
◆ exchange_index
| std::optional<ExchangeIndex> kalshi::CreateOrderV2Request::exchange_index |
The documentation for this struct was generated from the following file: