Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alsk1992 avatar

Trading Kalshi

  • 26 installs
  • 610 repo stars
  • Updated June 26, 2026
  • alsk1992/cloddsbot

trading-kalshi is a skill that trades Kalshi prediction markets with search, orders, streaming, and advanced order types.

About

This skill provides full access to Kalshi prediction markets. It searches markets and events, places buy and sell orders, streams real-time data over WebSocket, and supports advanced order types including TWAP, bracket, and trigger orders. A developer uses it to trade Kalshi contracts programmatically from the clodds bot.

  • Trades Kalshi prediction markets: search, orders, and streaming
  • Advanced order types: TWAP, bracket (TP/SL), and trigger orders
  • Real-time WebSocket streaming for ticker, trades, and orderbook

Trading Kalshi by the numbers

  • 26 all-time installs (skills.sh)
  • Ranked #687 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

trading-kalshi capabilities & compatibility

Requires Kalshi API key ID and RSA private key; DRY_RUN available to simulate. Trading fees apply.

Capabilities
prediction market trading · order streaming · advanced orders · market search
Use cases
trading
Runs
Runs locally
Pricing
Bring your own API key
From the docs

What trading-kalshi says it does

Full access to Kalshi prediction markets: search, trade, stream real-time data, and use advanced order types (TWAP, bracket, trigger).
SKILL.md
Authentication uses RSA key-pair signing (not email/password).
SKILL.md
npx skills add https://github.com/alsk1992/cloddsbot --skill trading-kalshi

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs26
repo stars610
Last updatedJune 26, 2026
Repositoryalsk1992/cloddsbot

What it does

Search, trade, and stream Kalshi prediction markets with advanced order types.

Who is it for?

Programmatic trading and real-time streaming of Kalshi prediction-market contracts.

Skip if: Crypto DEX swaps or centralized-exchange futures trading.

When should I use this skill?

You need to search, trade, or stream Kalshi markets or place TWAP/bracket/trigger orders.

What you get

Placed Kalshi orders with real-time streams and advanced order types.

  • Placed Kalshi orders
  • Real-time market and fill streams

By the numbers

  • 3 advanced order types (TWAP, bracket, trigger)
  • Trigger orders poll every 5 seconds

Files

SKILL.mdMarkdownGitHub ↗

Kalshi Trading

Full access to Kalshi prediction markets: search, trade, stream real-time data, and use advanced order types (TWAP, bracket, trigger).

Required Environment Variables

KALSHI_API_KEY_ID=your_api_key_id
KALSHI_PRIVATE_KEY=your_private_key_pem_contents
# OR
KALSHI_PRIVATE_KEY_PATH=/path/to/private_key.pem

Authentication uses RSA key-pair signing (not email/password). Generate an API key from the Kalshi dashboard.

Optional:

DRY_RUN=true   # Simulate trades without executing

Commands

Market Data

/kalshi search <query>                     - Search markets
/kalshi market <ticker>                    - Market details
/kalshi book <ticker>                      - View orderbook (REST snapshot)
/kalshi events [query]                     - Browse events
/kalshi event <event-ticker>              - Event details + markets

Trading

/kalshi buy <ticker> <contracts> <price>   - Buy YES contracts
/kalshi sell <ticker> <contracts> <price>  - Sell YES contracts
/kalshi orders                             - View open orders
/kalshi cancel <order-id>                  - Cancel an order
/kalshi cancel all                         - Cancel all orders
/kalshi balance                            - Account balance

Advanced Orders

/kalshi twap <buy|sell> <ticker> <total> <price> [slices] [interval-sec]
/kalshi twap status                        - Active TWAP progress
/kalshi twap cancel <id>                   - Cancel TWAP

/kalshi bracket <ticker> <size> <tp> <sl>  - Set take-profit / stop-loss
/kalshi bracket status                     - Active brackets
/kalshi bracket cancel <id>                - Cancel bracket

/kalshi trigger buy <ticker> <size> <price> [limit]   - Buy when price drops
/kalshi trigger sell <ticker> <size> <price> [limit]  - Sell when price rises
/kalshi trigger list                       - Active triggers
/kalshi trigger cancel <id>                - Cancel trigger

Real-Time Streaming (WebSocket)

/kalshi stream <ticker> [channels]         - Start streaming (ticker,trade,orderbook)
/kalshi stream-fills                       - Stream your order fills
/kalshi streams                            - List active streams
/kalshi unstream <ticker>                  - Stop streaming a market
/kalshi unstream-fills                     - Stop fill notifications
/kalshi realtime-book <ticker>             - Get real-time orderbook from stream

Cross-Platform

/kalshi route <ticker> <buy|sell> <size>   - Compare prices across platforms
/kalshi circuit                            - Circuit breaker status

Examples

/kalshi search bitcoin
/kalshi market KXBTC-24JAN01
/kalshi book KXBTC-24JAN01
/kalshi buy KXBTC-24JAN01 10 0.65
/kalshi sell KXBTC-24JAN01 5 0.70
/kalshi stream KXBTC-24JAN01 ticker,trade
/kalshi twap buy KXBTC-24JAN01 50 0.60 10 30
/kalshi bracket KXBTC-24JAN01 10 0.80 0.40
/kalshi trigger buy KXBTC-24JAN01 10 45

Notes

  • Prices are in decimal format for commands (0.65 = 65 cents)
  • Trigger prices are in cents (45 = 45 cents)
  • Contracts pay $1 if correct; cost is the price
  • Circuit breaker integration blocks trades when risk limits are hit
  • Trigger orders poll every 5 seconds

Related skills

FAQ

How does Kalshi authentication work?

Authentication uses RSA key-pair signing (not email/password) with a KALSHI_API_KEY_ID and private key.

What advanced order types are supported?

TWAP, bracket (take-profit/stop-loss), and trigger orders.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.