CLI Reference
Each command group maps to Kalshi API resources, and each command help string includes the mapped endpoint.
Command Groups
config: local config read/writedoctor: config + connectivity checksping: exchange status health checkexchange: status, schedule, announcementsevents: list/getmarkets: list/get/orderbook/tradesorders: list/get/create/cancel/amend/decrease/queue/batchportfolio: balance/positions/fills/settlements/resting-order-value/subaccountsaccount: API limits
Examples
kalshi events list --status open --limit 20
kalshi markets get KX...
kalshi orders queue-position ORDER_ID
kalshi portfolio settlements --limit 20
kalshi portfolio subaccounts balances
Authenticated Write Commands
For complex payloads use JSON input:
kalshi orders batch-create --file orders-batch.json
kalshi orders batch-cancel --body '{"order_ids":["..."]}'
kalshi portfolio subaccounts transfers create --file transfer.json