CLI Prediction Markets Prediction Markets

kalshi-cli

CLI for trading event contracts on Kalshi, the regulated prediction market exchange.

Verified

Install

pip install kalshi-cli

TL;DR: kalshi-cli is a command-line interface for trading event contracts on Kalshi, the CFTC-regulated prediction market exchange. It provides terminal access to market browsing, order placement, and portfolio management.

kalshi-cli connects to the Kalshi API and brings prediction market trading to the terminal. You can browse available event contracts, view market details including order book depth and recent trades, check your portfolio positions, and place buy or sell orders. The tool authenticates with your Kalshi account credentials and provides command-based access to core trading functions.

The workflow is straightforward: list markets to find contracts of interest, inspect individual markets for pricing and liquidity, and submit orders through CLI commands. Output is formatted for terminal readability. Because Kalshi is a regulated US exchange, the contracts available are event-based (weather, economic indicators, elections, and other outcomes) rather than traditional financial instruments.

kalshi-cli is suited for active Kalshi traders who prefer terminal workflows over the web interface. It enables scripting, integration with other tools, and faster execution for users comfortable with command-line interaction. A Kalshi account in good standing is required.