kalshi-pmx 0.1.1

Async Rust client for Kalshi's Trade API and WebSocket streams.
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Use `demo` for the read-only live integration tests unless you intentionally target production.
KALSHI_ENV=demo

# API key id from Kalshi.
KALSHI_API_KEY_ID=your-demo-api-key-id

# Either inline PEM text with escaped newlines or a path to a local PEM file.
KALSHI_PRIV_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"

# Active market ticker used by WebSocket examples and live tests.
KALSHI_TICKER=replace-with-active-market-ticker