|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | market_ticker |
| The ticker of the market for which to create an RFQ. | |
| std::optional< std::int64_t > | contracts |
| Whole-contract count for the RFQ. | |
| std::optional< FixedPointCount > | contracts_fp |
| Fixed-point number of contracts for the RFQ. | |
| std::optional< std::int64_t > | target_cost_centi_cents |
| DEPRECATED: The target cost for the RFQ in centi-cents. | |
| std::optional< FixedPointDollars > | target_cost_dollars |
| The target cost for the RFQ in dollars. | |
| std::optional< bool > | target_cost_excludes_fees |
| Sizes quotes against the target cost as principal only (contracts = target cost / price), with your taker fees charged on top of the target cost. | |
| bool | rest_remainder {} |
| Whether to rest the remainder of the RFQ after execution. | |
| std::optional< bool > | replace_existing |
| Whether to delete existing RFQs as part of this RFQ's creation. | |
| std::optional< std::string > | subtrader_id |
| The subtrader to create the RFQ for (FCM members only) | |
| std::optional< std::int64_t > | subaccount |
| The subaccount number to create the RFQ for (direct members only; 0 for primary, 1-63 for subaccounts) | |
| std::string kalshi::CreateRFQRequest::market_ticker |
The ticker of the market for which to create an RFQ.
| std::optional<std::int64_t> kalshi::CreateRFQRequest::contracts |
Whole-contract count for the RFQ.
| std::optional<FixedPointCount> kalshi::CreateRFQRequest::contracts_fp |
Fixed-point number of contracts for the RFQ.
| std::optional<std::int64_t> kalshi::CreateRFQRequest::target_cost_centi_cents |
DEPRECATED: The target cost for the RFQ in centi-cents.
| std::optional<FixedPointDollars> kalshi::CreateRFQRequest::target_cost_dollars |
The target cost for the RFQ in dollars.
| std::optional<bool> kalshi::CreateRFQRequest::target_cost_excludes_fees |
Sizes quotes against the target cost as principal only (contracts = target cost / price), with your taker fees charged on top of the target cost.
| bool kalshi::CreateRFQRequest::rest_remainder {} |
Whether to rest the remainder of the RFQ after execution.
| std::optional<bool> kalshi::CreateRFQRequest::replace_existing |
Whether to delete existing RFQs as part of this RFQ's creation.
| std::optional<std::string> kalshi::CreateRFQRequest::subtrader_id |
The subtrader to create the RFQ for (FCM members only)
| std::optional<std::int64_t> kalshi::CreateRFQRequest::subaccount |
The subaccount number to create the RFQ for (direct members only; 0 for primary, 1-63 for subaccounts)