|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
#include <kalshi/models.hpp>
Public Attributes | |
| std::string | api_key_id |
| Unique identifier for the newly generated API key. | |
| std::optional< ApiKeyType > | key_type |
| std::string | private_key |
Private key in PEM format - PKCS#1 (-----BEGIN RSA PRIVATE KEY-----) for rsa, PKCS#8 (-----BEGIN PRIVATE KEY-----) for ed25519. | |
| std::optional< std::string > | warning |
| Present only when the minted key is bound to an FCM subtrader that is missing a per- subtrader risk control - the initial-margin cap (margin lane) or the event-contract daily cap. | |
| std::string kalshi::GenerateApiKeyResponse::api_key_id |
Unique identifier for the newly generated API key.
| std::optional<ApiKeyType> kalshi::GenerateApiKeyResponse::key_type |
| std::string kalshi::GenerateApiKeyResponse::private_key |
Private key in PEM format - PKCS#1 (-----BEGIN RSA PRIVATE KEY-----) for rsa, PKCS#8 (-----BEGIN PRIVATE KEY-----) for ed25519.
| std::optional<std::string> kalshi::GenerateApiKeyResponse::warning |
Present only when the minted key is bound to an FCM subtrader that is missing a per- subtrader risk control - the initial-margin cap (margin lane) or the event-contract daily cap.