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

#include <kalshi/models.hpp>

Public Attributes

std::string id
 Unique identifier for the block trade proposal.
 
std::string proposer_user_id
 User ID of the proposal creator.
 
std::string buyer_user_id
 User ID of the buyer.
 
std::optional< std::string > buyer_subtrader_id
 Subtrader ID of the buyer.
 
std::string seller_user_id
 User ID of the seller.
 
std::optional< std::string > seller_subtrader_id
 Subtrader ID of the seller.
 
std::string market_ticker
 The ticker of the market for this block trade.
 
std::int64_t price_centi_cents {}
 Price in centi-cents.
 
std::int64_t centicount {}
 Number of contracts in centicounts.
 
Side maker_side {}
 The maker side of the trade.
 
std::string expiration_ts
 Expiration time of the proposal.
 
std::string status
 Current status of the proposal.
 
std::string created_ts
 Timestamp when the proposal was created.
 
std::string updated_ts
 Timestamp when the proposal was last updated.
 
bool buyer_accepted {}
 Whether the buyer has accepted the proposal.
 
bool seller_accepted {}
 Whether the seller has accepted the proposal.
 
std::optional< std::string > buyer_accepted_ts
 Timestamp when the buyer accepted.
 
std::optional< std::string > seller_accepted_ts
 Timestamp when the seller accepted.
 
std::optional< std::string > executed_ts
 Timestamp when the proposal was executed.
 
std::optional< std::string > buyer_order_id
 Order ID for the buyer after the proposal is executed.
 
std::optional< std::string > seller_order_id
 Order ID for the seller after the proposal is executed.
 

Member Data Documentation

◆ id

std::string kalshi::BlockTradeProposal::id

Unique identifier for the block trade proposal.

◆ proposer_user_id

std::string kalshi::BlockTradeProposal::proposer_user_id

User ID of the proposal creator.

◆ buyer_user_id

std::string kalshi::BlockTradeProposal::buyer_user_id

User ID of the buyer.

◆ buyer_subtrader_id

std::optional<std::string> kalshi::BlockTradeProposal::buyer_subtrader_id

Subtrader ID of the buyer.

◆ seller_user_id

std::string kalshi::BlockTradeProposal::seller_user_id

User ID of the seller.

◆ seller_subtrader_id

std::optional<std::string> kalshi::BlockTradeProposal::seller_subtrader_id

Subtrader ID of the seller.

◆ market_ticker

std::string kalshi::BlockTradeProposal::market_ticker

The ticker of the market for this block trade.

◆ price_centi_cents

std::int64_t kalshi::BlockTradeProposal::price_centi_cents {}

Price in centi-cents.

◆ centicount

std::int64_t kalshi::BlockTradeProposal::centicount {}

Number of contracts in centicounts.

◆ maker_side

Side kalshi::BlockTradeProposal::maker_side {}

The maker side of the trade.

◆ expiration_ts

std::string kalshi::BlockTradeProposal::expiration_ts

Expiration time of the proposal.

◆ status

std::string kalshi::BlockTradeProposal::status

Current status of the proposal.

◆ created_ts

std::string kalshi::BlockTradeProposal::created_ts

Timestamp when the proposal was created.

◆ updated_ts

std::string kalshi::BlockTradeProposal::updated_ts

Timestamp when the proposal was last updated.

◆ buyer_accepted

bool kalshi::BlockTradeProposal::buyer_accepted {}

Whether the buyer has accepted the proposal.

◆ seller_accepted

bool kalshi::BlockTradeProposal::seller_accepted {}

Whether the seller has accepted the proposal.

◆ buyer_accepted_ts

std::optional<std::string> kalshi::BlockTradeProposal::buyer_accepted_ts

Timestamp when the buyer accepted.

◆ seller_accepted_ts

std::optional<std::string> kalshi::BlockTradeProposal::seller_accepted_ts

Timestamp when the seller accepted.

◆ executed_ts

std::optional<std::string> kalshi::BlockTradeProposal::executed_ts

Timestamp when the proposal was executed.

◆ buyer_order_id

std::optional<std::string> kalshi::BlockTradeProposal::buyer_order_id

Order ID for the buyer after the proposal is executed.

◆ seller_order_id

std::optional<std::string> kalshi::BlockTradeProposal::seller_order_id

Order ID for the seller after the proposal is executed.


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