kalshi-agentKalshi prediction market agent - analyzes markets and executes trades via the Kalshi v2 API
Install via ClawdBot CLI:
clawdbot install JThomasDevs/kalshi-agentCLI tool for trading prediction markets on Kalshi.
npm install -g kalshi-cli
~/.kalshi/private_key.pem~/.kalshi/.env:KALSHI_ACCESS_KEY=your_access_key_id
Or run kalshi setup-shell to add it to your shell config.
# List open markets (default 20)
kalshi markets
kalshi markets -l 50
kalshi markets --status settled
# Search by keyword, ticker, or category
kalshi search "Super Bowl"
kalshi search soccer
kalshi search hockey
kalshi search KXWO-GOLD-26
# Search with filters
kalshi search politics --min-odds 5 # hide markets where either side < 5%
kalshi search soccer --expiring # sort by soonest expiry, show expiry column
kalshi search soccer -e -m 2 -l 20 # combine flags: expiring, 2% min-odds, 20 results
# Browse all active series (interactive โ pick a number to drill down)
kalshi series
kalshi series soccer
kalshi series --all # include series with no active markets
kalshi series -e # sort by soonest expiry
# View single market detail
kalshi detail KXWO-GOLD-26-NOR
# View orderbook depth
kalshi orderbook KXWO-GOLD-26-NOR
Search uses a multi-strategy approach:
KX prefix), or series tickerCommon sport/category aliases are expanded automatically (e.g. "nfl" also searches "football").
Both kalshi search and kalshi series display numbered tables when listing series. After the table, you're prompted:
Enter # to drill down (or q to quit):
Pick a number to load that series' open markets inline. The prompt loops so you can explore multiple series without re-running the command.
# Check balance
kalshi balance
# View positions
kalshi positions
# View open orders
kalshi orders
# Buy 10 YES contracts at 68c each
kalshi buy KXSB-26 10 68
# Buy NO contracts
kalshi buy KXWO-GOLD-26-NOR 5 32 --side no
# Sell (same syntax)
kalshi sell KXWO-GOLD-26-NOR 5 40 --side no
# Skip confirmation prompt
kalshi buy KXSB-26 10 68 --force
# Cancel an open order
kalshi cancel <order-id>
$0.68 (68%))--side defaults to yes if not specifiedbuy and sell show a cost/proceeds summary and ask for confirmation (bypass with --force)--min-odds / -m filters out markets where either side's bid is below a percentage threshold (default 0.5%)--expiring / -e sorts results by soonest expiry, adds an "Expires" column, and excludes already-expired entriesKX (e.g. KXWO-GOLD-26); market tickers have more segments (e.g. KXWO-GOLD-26-NOR)Full API docs: https://docs.kalshi.com/api-reference/
Generated Mar 1, 2026
Individual traders use the Kalshi Agent to browse and filter prediction markets by odds, expiry, or category, enabling quick identification of high-probability opportunities. They can execute trades directly via CLI commands, such as buying YES contracts on sports events or political outcomes, with real-time cost summaries and confirmation prompts for risk management.
Investment firms integrate the Kalshi Agent into automated trading systems to diversify portfolios with prediction market assets, leveraging API access for real-time market data and order execution. They use commands like 'kalshi orderbook' to assess liquidity and 'kalshi positions' to monitor exposure, enhancing strategies with alternative data from events like elections or sports.
Researchers and universities employ the Kalshi Agent to collect historical and real-time data from prediction markets for studies on forecasting accuracy and behavioral economics. They utilize search filters and interactive series lists to analyze market trends, with commands like 'kalshi markets --status settled' to access past outcomes for statistical analysis.
News organizations use the Kalshi Agent to track public sentiment on current events, such as elections or award shows, by monitoring market odds and executing small trades for engagement. Reporters can quickly search markets by keyword, view detailed market info, and share insights on probability shifts, enhancing real-time coverage with data-driven narratives.
Companies leverage the Kalshi Agent to gauge market predictions on industry-specific events, like regulatory changes or product launches, informing strategic decisions. Teams can set up automated scripts to query market data via the CLI, using filters like min-odds to filter out noise and assess potential impacts on business operations.
Offer a premium version of the Kalshi Agent with advanced analytics, automated trading bots, and integration dashboards, targeting professional traders and firms. Revenue is generated through monthly or annual subscriptions, with tiered pricing based on features like API rate limits, historical data access, and custom alert systems.
Partner with Kalshi to earn commissions by driving new users to the platform through the Kalshi Agent's CLI, with embedded referral links or promotional codes in command outputs. Revenue comes from referral fees based on user sign-ups or trading volume, incentivizing wider adoption among retail investors and communities.
Provide consulting services to businesses and institutions for integrating the Kalshi Agent into their existing systems, such as risk management platforms or research tools. Revenue is generated through project-based fees or retainer contracts, offering customization, training, and support for API usage and data analysis workflows.
๐ฌ Integration Tip
Ensure the Kalshi private key and access key are securely stored in environment variables or files, and use the interactive series lists for efficient market exploration without re-running commands.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.