Kalshi Paper Trading
by @brs999
Kalshi-native paper trading ledger and CLI for binary prediction contracts. Use for paper opens, marks, reconciliation, valuation, and review without relying...
clawhub install kalshi-paper-tradingπ About This Skill
name: kalshi-paper-trading description: Kalshi-native paper trading ledger and CLI for binary prediction contracts. Use for paper opens, marks, reconciliation, valuation, and review without relying on the generic spot-style paper trader. homepage: https://docs.kalshi.com user-invocable: true disable-model-invocation: false metadata: openclaw: emoji: "π" requires: bins: [node]
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:
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:
[0, 100]100 or 0 centsmarket_ticker + contract_side*_dollars quote fieldsPrimary 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 --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 --side YES --contracts 1 --format json --pretty
Reconcile a finalized market:
node --experimental-strip-types {baseDir}/scripts/kalshi_paper.ts reconcile --account kalshi --market --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:
This skill owns the paper ledger and execution side only.
Design Reference
Read the proposal before making structural changes:
Use that document for:
Tests
Run the Kalshi paper-trader test file:
node --test {baseDir}/tests/kalshi_paper.test.mjs