kalshi_paper_order
Place simulated Kalshi orders using live market data; no real money moves. Market orders fill immediately, limit orders rest until matched, enabling realistic paper trading for strategy testing.
Instructions
Place a simulated order against the live Kalshi book. Nothing here reaches Kalshi: no real order is placed and no real money moves. Prices, fills, and settlement follow the live exchange, so the numbers track a real strategy, but the position exists only on this computer. Market orders fill immediately by walking the real order book, paying Kalshi's usual taker fee. Limit orders fill any part that crosses right now and leave the rest resting, to be matched the next time a paper tool runs. The portfolio is created on first use with a starting balance you can set here or with kalshi_paper_reset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Which contract to trade. Buying NO at $0.30 is the same position as selling YES at $0.70, and prices given here are for the side you name. | yes |
| type | No | A market order takes the best available price. A limit order will not pay worse than its price. | market |
| count | Yes | Whole contracts. Each one settles at $1.00 or $0.00. | |
| action | Yes | Buy opens or adds; sell closes or flips. | |
| ticker | Yes | Market ticker, e.g. "KXHIGHNY-25AUG02-B82.5". | |
| portfolio | No | Which simulated portfolio to use. Defaults to "default"; name others to run strategies side by side. | default |
| limit_price | No | Price per contract on the chosen side, in dollars, e.g. "0.63". Required for limit orders. | |
| starting_balance_usd | No | Starting cash, used only if this portfolio does not exist yet. Defaults to $1000. |