/install kalshi-paper-trading
Kalshi Paper Trading
Use this skill for Kalshi paper execution and ledger management.
Kalshi-native paper trading should use a dedicated ledger and CLI rather than the generic paper-trading skill.
When to Use
Use this skill when the user wants to:
- design or build a Kalshi-specific paper trader
- inspect or reconcile Kalshi paper positions
- store Kalshi prices correctly in cents without mixing units
- compute Kalshi realized and unrealized PnL
- add Kalshi-native exposure or risk rules
Key Rule
Do not route Kalshi paper executions through the generic skills/paper-trading ledger unless the user explicitly asks to keep that compatibility.
Default assumptions for this skill:
- Kalshi execution prices are stored as integer cents in
[0, 100] - settlement is
100or0cents - positions are keyed by
market_ticker + contract_side - risk controls are based on premium and event exposure, not stop-distance percent risk
- live market sync supports both legacy cent fields and modern Kalshi
*_dollarsquote fields
Primary Commands
Initialize the paper account:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts init --account kalshi --starting-balance-usd 1000
Check status:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts status --account kalshi --format json --pretty
Sync a live market quote into the ledger:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts sync-market --market \x3CTICKER> --format json --pretty
Open a paper trade from the live Kalshi ask:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts buy-from-market --account kalshi --market \x3CTICKER> --side YES --contracts 1 --format json --pretty
Reconcile a finalized market:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts reconcile --account kalshi --market \x3CTICKER> --winning-side YES
Review account performance:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts review --account kalshi --format json --pretty
Integration
Pair this skill with a separate Kalshi API read skill for:
- market discovery
- liquidity validation
- trades and orderbook checks
- pre-trade candidate ranking
This skill owns the paper ledger and execution side only.
Design Reference
Read the proposal before making structural changes:
Use that document for:
- schema design
- command surface
- valuation rules
- settlement logic
- migration plan away from the generic paper trader
Tests
Run the Kalshi paper-trader test file:
node --test {baseDir}/tests/kalshi_paper.test.mjs
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kalshi-paper-trading - 安装完成后,直接呼叫该 Skill 的名称或使用
/kalshi-paper-trading触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Kalshi Paper Trading 是什么?
Kalshi-native paper trading ledger and CLI for binary prediction contracts. Use for paper opens, marks, reconciliation, valuation, and review without relying... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 307 次。
如何安装 Kalshi Paper Trading?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kalshi-paper-trading」即可一键安装,无需额外配置。
Kalshi Paper Trading 是免费的吗?
是的,Kalshi Paper Trading 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kalshi Paper Trading 支持哪些平台?
Kalshi Paper Trading 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kalshi Paper Trading?
由 Ben(@brs999)开发并维护,当前版本 v1.0.0。