โ† All skills
Tencent SkillHub ยท Developer Tools

Kalshi Trading

Trade on Kalshi prediction markets: check portfolio, search markets, analyze orderbooks, place/cancel orders, and manage binary contract positions.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Trade on Kalshi prediction markets: check portfolio, search markets, analyze orderbooks, place/cancel orders, and manage binary contract positions.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/api-notes.md, references/setup-guide.md, references/trading-guide.md, scripts/kalshi-cli.mjs, scripts/quick-analysis.mjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

Kalshi

Trade on Kalshi prediction markets via a self-contained CLI script. Supports market search, portfolio tracking, and full order lifecycle (place/cancel/monitor).

Quick Start

All commands route through a single script. Output is JSON.

CLI

Primary script: {baseDir}/scripts/kalshi-cli.mjs <command> [args...] Helper script: {baseDir}/scripts/quick-analysis.mjs <ticker> Combines market details + orderbook in a single call for fast analysis.

Commands

CommandDescriptionbalanceGet account balance (cash + portfolio value)portfolioGet balance + all open positionstrendingTop markets by 24h volumesearch <query>Search markets by keywordmarket <ticker>Get details for a single marketorderbook <ticker>Get bid/ask levels for a marketbuy <ticker> <yes|no> <count> <price>Place a buy order (price in cents 1-99)sell <ticker> <yes|no> <count> <price>Place a sell order (price in cents 1-99)cancel <orderId>Cancel a resting orderorders [resting|canceled|executed]List orders, optionally filtered by statusfills [ticker]List recent fills, optionally filtered by ticker

Examples

# Check balance {baseDir}/scripts/kalshi-cli.mjs balance # See what's trending {baseDir}/scripts/kalshi-cli.mjs trending # Search for markets about bitcoin {baseDir}/scripts/kalshi-cli.mjs search "bitcoin" # Get details on a specific market {baseDir}/scripts/kalshi-cli.mjs market KXBTCD-26FEB14-B55500 # Check orderbook {baseDir}/scripts/kalshi-cli.mjs orderbook KXBTCD-26FEB14-B55500 # Buy 5 YES contracts at 65 cents {baseDir}/scripts/kalshi-cli.mjs buy KXBTCD-26FEB14-B55500 yes 5 65 # Sell 5 YES contracts at 70 cents {baseDir}/scripts/kalshi-cli.mjs sell KXBTCD-26FEB14-B55500 yes 5 70 # Check open orders {baseDir}/scripts/kalshi-cli.mjs orders resting # Check recent fills {baseDir}/scripts/kalshi-cli.mjs fills

Output

All commands output JSON to stdout. Parse the result to present it to the user.

Trading Rules

Critical: ALWAYS confirm with the user before placing any buy or sell order. Before executing a trade, show the user: Ticker Side (YES or NO) Count (number of contracts) Price (in cents) Total cost = count ร— price cents = $X.XX Price format: Prices are in cents (1-99) 65 cents = $0.65 per contract Minimum: 1 cent, Maximum: 99 cents Payouts: All contracts pay $1.00 (100 cents) if correct, $0 if wrong YES at 65ยข: costs 65ยข, pays $1.00 if YES wins โ†’ 35ยข profit per contract NO at 35ยข: costs 35ยข, pays $1.00 if NO wins โ†’ 65ยข profit per contract YES price + NO price โ‰ˆ 100ยข (spreads cause small deviations) Before selling: Verify the user holds the position by checking portfolio first

Reference Documentation

setup-guide.md - Getting API credentials, configuration, troubleshooting trading-guide.md - Market mechanics, strategy tips, risk management api-notes.md - Technical API details, data formats, common patterns

Environment Variables

Required: KALSHI_API_KEY_ID โ€” your Kalshi API key UUID KALSHI_PRIVATE_KEY_PATH โ€” absolute path to your RSA private key PEM file See setup-guide.md for detailed configuration instructions.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs2 Scripts
  • SKILL.md Primary doc
  • references/api-notes.md Docs
  • references/setup-guide.md Docs
  • references/trading-guide.md Docs
  • scripts/kalshi-cli.mjs Scripts
  • scripts/quick-analysis.mjs Scripts