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