kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
kalshi::AmendOrderRequest Struct Reference

#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.
 

Member Data Documentation

◆ subaccount

std::optional<std::int64_t> kalshi::AmendOrderRequest::subaccount

Optional subaccount number to use for this amendment (0 for primary, 1-63 for subaccounts)

◆ ticker

std::string kalshi::AmendOrderRequest::ticker

Market ticker.

◆ side

Side kalshi::AmendOrderRequest::side {}

Side of the order.

◆ action

Action kalshi::AmendOrderRequest::action {}

Action of the order.

◆ client_order_id

std::optional<std::string> kalshi::AmendOrderRequest::client_order_id

The original client-specified order ID to be amended.

◆ updated_client_order_id

std::optional<std::string> kalshi::AmendOrderRequest::updated_client_order_id

The new client-specified order ID after amendment.

◆ yes_price

std::optional<std::int64_t> kalshi::AmendOrderRequest::yes_price

Updated yes price for the order in cents.

◆ no_price

std::optional<std::int64_t> kalshi::AmendOrderRequest::no_price

Updated no price for the order in cents.

◆ yes_price_dollars

std::optional<FixedPointDollars> kalshi::AmendOrderRequest::yes_price_dollars

Updated yes price for the order in fixed-point dollars.

◆ no_price_dollars

std::optional<FixedPointDollars> kalshi::AmendOrderRequest::no_price_dollars

Updated no price for the order in fixed-point dollars.

◆ count

std::optional<std::int64_t> kalshi::AmendOrderRequest::count

Updated quantity for the order (whole contracts only).

◆ count_fp

std::optional<FixedPointCount> kalshi::AmendOrderRequest::count_fp

String representation of the updated quantity for the order.

◆ exchange_index

std::optional<ExchangeIndex> kalshi::AmendOrderRequest::exchange_index

Exchange shard index.


The documentation for this struct was generated from the following file: