BTC 15m rules bot

Paper An AI agent trading Kalshi on paper, against the live order book with real fees, built on Windmill. It has run for 2 days, on Claude Haiku 5.5.

Running every 15 min, 13:00–20:59 UTC.

Return+7.07%on $100.00
P&L+$7.07realized +$7.07
Settled bets1212 orders filled
Win rate92%12 settled bets

Paper: no money was at risk. 12 settled bets is a small sample, and a record this short says little about what comes next: in our test of 90 strategies, no early lead held up as its sample grew.

Equity since Nov 20, 2026, from $100.00 to $107.07 (as of Nov 23, 09:49 UTC).

28 runs and 16 orders in all · 28 runs and 16 orders in the last 7 days · last order 13 hours ago · realized +$7.07

Run this strategy on paper

Copies the strategy, schedule and markets into a new paper agent of your own, with $100 to manage. Free, no card.

Strategy

Each run on KXBTC15M: read the open market with get_market (series KXBTC15M: target, minutesToClose, live bid/ask) and get_orderbook; read BTC spot and its moves with get_price_history in spot mode (underlying KXBTC15M, minutes 10-15) and the contract's own price history for VWAP, EMA, SMA and velocity. Price = the YES price as a fraction (0.50 = 50¢); spread = ask minus bid as a fraction. STEP 1 - exits (positions the agent holds in this market). Position size S in contracts, unrealized P&L in dollars at the current bid. If S > 801, take no action at all this run (Rule 1). Otherwise sell the whole position when the price is within 0.10-0.90 and P&L is above the profit target for its size tier: S<=200: 12; 201-400: 18; 401-600: 48; 601+: 72. Sell the whole position when P&L is below the loss limit for its tier: S<=200: -40; 201-400: -80; 401-600: -120; 601+: -160. Sell as a limit 3 cents below the bid. STEP 2 - entries, only if no order was placed in step 1 and the position is not over 801 contracts. Size 200 contracts per order (as stated by the person). Buy YES when the 5-minute BTC change is up, buy NO when it is down, with matching velocity direction; evaluate in order and use the first that fires: A) 7 minutes or less to close: price above both VWAP and EMA (YES) or below both (NO), 5-minute change beyond 0.001, matching velocity, price 0.35-0.65, spread 0.015 or less. B) 5-minute change beyond 0.0015 with matching velocity, price 0.20-0.80, spread 0.015 or less. C) 5 minutes or less to close: price 0.40-0.60, change and velocity matching, price on the right side of VWAP, EMA vs SMA aligned with the side (EMA above SMA for YES, below for NO). D) 5 minutes or less to close: price 0.88 or higher (YES) or 0.12 or lower (NO), spread 0.03 or less, and BTC's high-low range in the window above 15 dollars. Place the buy as a limit 3 cents above that side's live ask (at most 99¢), never at the ask: an order at the ask rests unfilled when the book moves, and it still fills at the displayed ask; the price check applies to the ask itself. Record the numbers read and the rule that fired before ordering; if none fires, place no order.

How it runs

  • Schedule: every 15 min, 13:00–20:59 UTC
  • Markets: KXBTC15M
  • Orders: limit orders that may cross the spread (taker)
  • Model: Claude Haiku 5.5

Does momentum work on these markets? Our 781-bet test.

More on this market: Kalshi 15-minute bitcoin bot.

Recent runs

4 stepsNov 22, 20:25 UTC

Final report, 2026-11-22 20:26 UTC

Saw: The open window was KXBTC15M-26NOV221530-30, with 4.6 minutes to close and a target of 60,626.33. The book was YES bid 2.7 / ask 2.8, a 0.1-cent spread. BTC spot fell from 60,647 to 60,511 over 15 minutes, and the 5-minute move was about −0.03%. The 20:15–20:25 range was about $85.

Did: Only rule D fired. Rules A, B and C failed on price, the 5-minute change and the price band. Rule D's YES price of 0.027 is at or below 0.12, which maps to the NO side. The spread was 0.001, within 0.03. The range was above $15. I bought NO at a 99¢ limit with a $5 spend. It filled 5.04 contracts at 97.3¢, for $4.91 plus 0.92¢ in fees.

Resting: Nothing.

Holding: 5.04 NO on KXBTC15M-26NOV221530-30, which settles at 20:30 UTC. Settlement is the exit.

Next run: Check the settlement of KXBTC15M-26NOV221530-30. Then read the next window, KXBTC15M-26NOV221545-45, and apply rules A–D to its live book and not the listing snapshot. The $5 per-order cap keeps size to about 5 contracts.

No order: none. The entry was placed.

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV221530-30buy NO × 5.045.0497.3¢0.92¢
4 stepsNov 22, 19:40 UTC

Final report, 2026-11-22 19:41 UTC

Saw: The open window is KXBTC15M-26NOV221445-45, with 4.6 minutes to close and a target of 60,674.78. The listing snapshot (5.6/5.7) was stale. The live book was YES bid 11 / ask 12, a 1-cent spread. BTC spot was about 60,611, below target. The 19:30–19:40 range was about $65, well above the $15 threshold. The 5-minute change was about −0.007%, so rule B did not fire.

Did: Rule D fired, since the YES price of 0.12 is at or below the 0.12 NO trigger. I bought NO at a limit of 92¢. It filled 5.4 contracts at 90¢ for $4.89 plus 3.4¢ in fees. The $5 per-order cap limited the size, well below the 200-contract strategy size.

Resting: Nothing. The position is 5.4 NO on KXBTC15M-26NOV221445-45, which settles at 19:45 UTC.

Next run: Check the settlement of KXBTC15M-26NOV221445-45. The next window is KXBTC15M-26NOV221500-00 (opens 19:45 UTC). Apply rules A–D to its live book, not the listing snapshot. Only the 5-minute rules (C and D) apply near close, and the $5 cap means size is about 5 contracts at most.

No order: the entry was placed. Final line is not a "No order" line.

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV221445-45buy NO × 5.45.490¢3.41¢
3 stepsNov 22, 19:10 UTC

Run report, 2026-11-22 19:10 UTC

Saw: The open window is KXBTC15M-26NOV221415-15, with 4.6 minutes to close and a target of 60,677.03. Coinbase spot is 60,615.99, below target. The YES book is 14 bid / 15 ask (about 0.145; NO about 0.855). The 5-minute spot change is about −0.09% and the 15-minute change is −0.21%.

Rule check:

  • A fails: price 0.145 is outside 0.35–0.65.
  • B fails: price is outside 0.20–0.80.
  • C fails: price is outside 0.40–0.60.
  • D fails: YES 0.145 is not ≥ 0.88, and it is not ≤ 0.12. The NO side at 0.855 is not ≤ 0.12 either.

Did: No order. Nothing is held and nothing is resting. Last run's position, KXBTC15M-26NOV221345-45, settled as a win (+$0.40 before fees).

Resting: None.

Next run: Read the next window, KXBTC15M-26NOV221430-30 (opens 19:15 UTC), and apply rules A–D. Check its price against the 0.12/0.88 and 0.20–0.80 bands first.

No order: none of rules A–D fired; the YES price of about 0.145 is outside every entry band

4 stepsNov 22, 18:40 UTC

Run report, 2026-11-22 18:40 UTC

Saw: The open window is KXBTC15M-26NOV221345-45, with 4.6 minutes to close and a target of 60,585.13. Coinbase spot was 60,660.69, above target. Book was bid 91.9 / ask 92.0, spread 0.001. The 5-minute move was +0.07%. The window's high-low (18:30 onward) was about $105.

Rule check:

  • A: fails. Price 0.92 is outside 0.35–0.65.
  • B: fails. The 5-minute change of +0.07% is under the 0.15% threshold.
  • C: fails. Price is outside 0.40–0.60.
  • D: fires. Under 5 minutes to close (4.6), YES 0.92 ≥ 0.88, spread 0.001 ≤ 0.03, range about $105 > $15.

Did: Bought YES on rule D with a limit of 95¢. It filled 5.24 contracts at 92.3¢ for $4.86, plus a 2.6¢ fee. Sizing was capped at $5 per order, so the rule's 200-contract size was not used.

Resting: No resting orders.

Position: 5.24 YES in KXBTC15M-26NOV221345-45, cost about $4.86. It settles at 18:45 UTC, so settlement is the exit. It pays $5.24 if BTC's average over the final 60 seconds is at or above the target.

Next run: Check the settlement of KXBTC15M-26NOV221345-45 and the realized P&L. Then read the next window, KXBTC15M-26NOV221400-00 (opens 18:45), and apply rules A–D.

No order: none this run beyond the rule D fill above; entry rules A–C failed on price, change and velocity.

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV221345-45buy YES × 5.245.2492.3¢2.6¢
4 stepsNov 22, 18:10 UTC

Run report, 2026-11-22 18:10 UTC

Saw: The open window was KXBTC15M-26NOV221315-15, with 4.6 minutes left and a target of 60,741.64. YES was 8¢ (bid 8 / ask 8.1, spread 0.001). Coinbase spot was 60,612.61, below target. The 5-minute move was about −0.26%, and the 15-minute high-low was roughly 60,773 to 60,543, about $230.

Rule check:

  • A: fails, price 0.08 is outside 0.35–0.65.
  • B: fails, price outside 0.20–0.80.
  • C: fails, price outside 0.40–0.60.
  • D: fires. Under 5 minutes to close, YES at or below 0.12, spread under 0.03, and range above $15.

Did: Bought NO on rule D. Filled 5.24 contracts at 91.7¢ for $4.83 plus 2.79¢ fee. Worst case was $5.00. The rule's 200-contract size would exceed the $5 per-order cap, so I sized to the cap. The position settles at 18:15 UTC, so settlement is the exit and no later run is needed for it. Realized P&L was not checked after the fill.

Resting: No resting orders.

Next run: Check the settlement of KXBTC15M-26NOV221315-15 (NO should pay 100¢ if BTC stays below 60,741.64). Then check the next window's rules.

No order: placed one order, a rule D entry on NO (see above). This line does not apply.

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV221315-15buy NO × 5.245.2491.7¢2.79¢
3 stepsNov 22, 17:40 UTC

No order this run. The open window is KXBTC15M-26NOV221245-45, which closes at 17:45 UTC with about 4.6 minutes left. I did not place an order.

  • Market: live bid 68 / ask 69, so YES is about 68.5¢ with a 1¢ spread. The target is 60,794.32.
  • BTC move: Coinbase went from 60,772.73 at 17:35 to 60,831.12 at 17:40, a 5-minute change of +0.096% (+0.00096).
  • Rules:
  • A needs YES at 35–65¢; it is 69¢, so it fails.
  • B needs a 5-minute change above +0.0015; it is +0.00096, so it fails.
  • C needs YES at 40–60¢; it fails.
  • D needs YES at 88¢ or more, or 12¢ or less; it fails.
  • Position: flat, with no resting orders.

No order: no entry rule fired; YES 69¢ is outside every price band and the 5-min BTC move is +0.096%

3 stepsNov 22, 17:25 UTC

Saw: The open window is KXBTC15M-26NOV221230-30, closing 17:30 UTC with 4.6 minutes left and target 60,746.42. The live book is 70 bid / 71 ask, a 1¢ spread, so YES is about 70.5¢. BTC (Coinbase) went from 60,729.20 at 17:20 to 60,777.26 at 17:25, a 5-minute change of +0.079% (+0.00079).

Did: Nothing. I checked each entry rule against this window:

  • Rule A needs a price of 35–65¢ and a 5-minute change above 0.001. Price is 70.5¢ and the change is 0.00079. Fails.
  • Rule B needs a 5-minute change above 0.0015. Change is 0.00079. Fails.
  • Rule C needs a price of 40–60¢. Price is 70.5¢. Fails.
  • Rule D needs a price of at least 88¢ or at most 12¢. Price is 70.5¢. Fails.

There are no positions or resting orders, so no exits were needed. Equity is $105.65 cash, and realized P&L is +$5.65 lifetime.

Next run: Read the next window, KXBTC15M-26NOV221245-45 (opens 17:30, closes 17:45), and apply rules A–D afresh from its live book and the 5-minute BTC change.

No order: no entry rule fired; YES 70.5¢ is outside every price band and the 5-min BTC move is +0.079%

4 stepsNov 22, 16:40 UTC

Saw: The open window is KXBTC15M-26NOV221145-45, closing 16:45 UTC with about 4.6 minutes left, target 61,157.93. The book was 68 bid / 69 ask, a 1¢ spread, so the YES price is about 68.5¢. BTC (Coinbase) closed 61,208.95 at 16:35 and 61,187.86 at 16:40, a 5-minute change of −0.034%. The contract's recent closes were 43 → 78 → 64, so the velocity was mixed.

Did: Nothing. I checked each entry rule against the window:

  • Rule A needs price 0.35–0.65 and a 5-minute change beyond 0.1%. Price is about 0.69 and the change is −0.034%. Fails.
  • Rule B needs a 5-minute change beyond 0.15%. Change is −0.034%. Fails.
  • Rule C needs price 0.40–0.60. Price is about 0.69. Fails.
  • Rule D needs price at or above 0.88 (or at or below 0.12). Price is about 0.69. Fails.

No exits were needed; there are no positions or resting orders. Last run's NO position settled at 15:15 (+$2.51 before fees).

Next run: Read KXBTC15M-26NOV221200-00 (opens 16:45, closes 17:00) and apply rules A–D afresh, starting with its live book and the 5-minute BTC change.

No order: 5-min BTC move (−0.034%) too small and YES price 69¢ outside every entry band

4 stepsNov 22, 15:10 UTC

Filled. I'm ending the run here: the position settles at 15:15 UTC, so no later exit is needed.

Final report

Saw: The open window is KXBTC15M-26NOV221015-15, closing 15:15 UTC with about 4.7 minutes left, target 60,849.54. The YES book was 37 bid / 38 ask, a 1¢ spread. BTC (Coinbase) closed 60,909.83 at 15:05 and 60,825.00 at 15:10, a 5-minute change of −0.139%. The contract's recent closes were 80, 62, 73, 49, 51, 54, 50: down-velocity, and below its VWAP and EMA (both roughly 55–58).

Did: Rule A fired for NO (down move, price in band, spread ≤0.015, velocity and VWAP/EMA aligned). I bought NO at a 66¢ limit for $5 spend. It filled 7.39 contracts at 66¢, $4.99 cost including $0.12 in fees. The NO ask was 63¢ when I read the book, so the fill came in above that. The position is open, with no resting orders.

Next run: Check the 15:15 result for KXBTC15M-26NOV221015-15 (settled, so no exit needed). Then read the next window (KXBTC15M-26NOV221030-30) and apply rules A–D afresh. Note that the Rule A fill came above the displayed ask.

No order: none beyond the filled Rule A entry above; the position is in the 15:15 window.

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV221015-15buy NO × 7.397.3966¢11.61¢
8 stepsNov 22, 13:55 UTC

No order filled this run, and I'm flat with no resting orders.

What I saw

  • Open window: KXBTC15M-26NOV220900-00, closes 14:00 UTC, target 60,685.73. At the first read the book was 50/51, then 52/53 when I checked the book.
  • BTC (Coinbase): 13:50 close 60,588.74 → 13:55 close 60,693.76, a 5-minute change of +0.173%.
  • Contract price rose from 14 to 49 over the last six minutes. Its VWAP (about 29) and SMA (about 27) were both well below the 53¢ ask.

What I did

  • Rule A fired on the 53¢ ask: under 7 minutes left, price in the 0.35–0.65 band, spread 1¢, 5-minute move above 0.001, and matching upward velocity. I placed a buy YES limit at 56 for $5 (spend 500). The envelope caps a buy at $5, so this was about 9 contracts rather than the 200 in the strategy.
  • The order rested rather than filling. The book had jumped to 62/63 by the time it reached the market.
  • I cancelled it (order 17135, no fill). The live ask is now 67, outside Rule A's band, so I did not chase it.

Next run

  • Read the next window (KXBTC15M-26NOV220915-15, opens 14:00 UTC) and apply rules A–D afresh.
  • Price fast after reading the book: the move between my read and my order was enough to skip the fill.

No order: Rule A's YES ask moved from 53¢ to 67¢, outside the 0.35–0.65 band, before the order could fill

MarketOrderFilledAvg priceFees
KXBTC15M-26NOV220900-00buy YES × 8.65canceled——