Skip to main content

Setup

Generate an API key id + RSA private key at kalshi.com/account/profile → API Keys. Put them in .env:
Then pass them to the constructor: