RRebetiAll guides

Kalshi Weather Trading Bot: How It Prices Temperature Markets

Updated

Kalshi's daily temperature markets ask one question — what will the highest temperature be in this city today? — split into buckets such as 60–61°F or 68°F or above. Each bucket is its own yes/no contract, and the market settles on one official number from one named weather station.

That makes weather one of the best-suited categories for a trading bot. The outcome is a measurement, not a judgment call. A free, high-quality forecast is published several times a day. And the market price can be compared directly against a probability you compute yourself. This guide walks through exactly how Rebeti's weather bot does that, step by step, using the same code the live desk runs — including an interactive demo you can change.

15 pp
Default min edge
±1.5°C
Day-ahead forecast error (σ)
2%
Stake per bet (capped $10)
1 day
Max lead time

How Kalshi weather markets work

A Kalshi highest-temperature event lists a ladder of buckets that together cover every possible outcome — typically a few 2°F-wide ranges around the expected high, plus open-ended "or below" and "or above" tails. Exactly one bucket resolves Yes at $1; every other bucket resolves No.

Three details in the contract rules decide everything downstream:

  • The station. Kalshi's US temperature markets settle on a specific National Weather Service station — Central Park for New York, Midway for Chicago, and so on — as reported in the NWS daily climate report. Not the city in general, and not the airport next door.
  • The day. The daily high is measured over the station's local calendar day, which can differ from the day your server thinks it is.
  • Rounding. Readings are reported in whole degrees, so "60–61°F" really covers anything that rounds into that range.

Polymarket lists similar markets for many cities, sometimes with Celsius buckets and different stations or data sources. How weather markets settle on Kalshi covers the settlement mechanics in more depth.

The bot's pipeline, in six steps

  1. 1

    Resolve the settlement station

    Read the station code from the market's own rules, then look up its coordinates and timezone.

  2. 2

    Forecast the daily high at that exact point

    Pull the ECMWF high-resolution forecast for the station's coordinates and local day.

  3. 3

    Turn the forecast into a probability per bucket

    Apply a measured forecast-error model to get the chance the high lands in each bucket.

  4. 4

    Compare with the market price

    Edge = model probability − YES price. Act only when the gap clears the threshold.

  5. 5

    Size and place the order

    Stake 2% of the bankroll (max $10) as a resting bid one tick above the best bid.

  6. 6

    Settle on the official reading

    When the station reports, score the bet: YES pays $1 if the bucket hit, NO pays $1 if it missed.

Step 1 — Find the station the market actually settles on

The single most common way a weather bot loses money with a good model is forecasting the wrong place. Rebeti reads a sample of each market group's own text from the venue, extracts the station code it names (for example KNYC, KMDW or EGLC), and resolves that code to coordinates using the NOAA/NWS aviation station directory. The station's IANA timezone is then used to define "the day" the high is measured over. A market whose station can't be resolved is simply not traded.

Step 2 — Forecast the high at that point

With exact coordinates, the bot requests an hourly temperature forecast from the ECMWF IFS model (0.25° resolution, via Open-Meteo) and takes the maximum over the station's local day. ECMWF is widely regarded as one of the most accurate global models for day-ahead temperature, and fetching it at the station point — rather than a city centroid — removes a source of error that's invisible in any single trade but adds up over hundreds.

Step 3 — From one forecast to a probability for every bucket

A forecast of 17.4°C isn't a prediction that the high will be exactly 17.4°C. It's the center of a range. The bot models that range as a normal distribution centered on the forecast, with a standard deviation (σ) equal to the forecast's measured historical error.

That σ isn't guessed. It was fit on a training split of resolved weather markets by comparing the 1-day-ahead ECMWF forecast with what the station actually recorded: about 1.48°C for daily highs (406 markets) and 0.94°C for daily lows (79 markets). The probability of each bucket is then the area under the curve between the bucket's edges — after converting °F buckets to °C and padding each edge by half a degree to match the venue's rounding.

Try it below. Switch city, change the lead time to see how forecast uncertainty widens the curve, and drag the minimum-edge slider to see which buckets the rule would trade. Hover a row to shade its bucket on the curve.

Interactive · weather desk pricing mathsample data
KNYC · Central Park · σ = 1.5°C (Desk default σ)
forecast 17.4°C / 63°F13°C15°C17°C19°C21°C
BucketModel vs marketEdgeDecision
59°F or below
8%
9¢
-1 ppNo edge
60-61°F
17%
33¢
-16 ppBuy NO @ 67¢ · $10.00
62-63°F
28%
31¢
-3 ppNo edge
64-65°F
26%
12¢
+14 ppNo edge
66-67°F
15%
10¢
+5 ppNo edge
68°F or above
6%
5¢
+1 ppNo edge
model probability market YES price1 bet on a $500 paper bankroll
Uses the same bucket parser, normal error model, edge test and 2%-of-bankroll sizing as Rebeti's live weather desk. Forecasts and prices are mock data; the live desk only bets 1 day out or closer.

Why σ is the most important number in the model

Set σ too small and the model is overconfident: it piles probability into the forecast bucket and sees huge, fake edges everywhere else. Set it too large and every bucket looks fairly priced. Measuring σ from real resolved markets — and separately for highs and lows — is what keeps the edge column honest. It's also why the live desk only bets 1 day out or closer: that's the lead time σ was measured at.

Step 4 — The edge test

The edge is simply model probability − market YES price. In the New York example above, the 60–61°F bucket trades at 33¢ but the model puts it at 17%: an edge of −16 percentage points, which means the No side is cheap. The 64–65°F bucket trades at 12¢ against a 26% model probability: +14 pp, just short of the default threshold.

The rule only acts when the absolute edge clears a minimum — 15 percentage points by default — and buys whichever side the model favors:

  • Positive edge → buy YES at the market price.
  • Negative edge → buy NO at 1 − the YES price.
  • Skip if the leg would cost less than 2¢ (noise, not an opinion) or more than 95¢ (too little upside).

A 15-point threshold sounds high, and it's meant to. Weather books are thin, spreads are wide, and fees take a slice of every fill. Small gaps between model and market are mostly noise; a rule that trades all of them pays the spread far more often than it earns the edge.

Step 5 — Sizing and placing the order

Each bet stakes 2% of the venue's available paper or live funds, capped at $10, rounded to the venue's 0.01-contract step. On a $500 bankroll that's $10: about 14.9 contracts of NO at 67¢, or 50 contracts of YES at 20¢.

Execution is deliberately patient:

How the order is placed

  • —Resting limit bid one tick (1¢) above the best bid
  • —Never crosses the spread — no bid if spread is one tick
  • —Rests for up to 30 minutes, then is re-evaluated
  • —Cancelled at least 60 minutes before market close

Why it's done this way

  • —Forecast edges last hours, not seconds — no need to pay the spread
  • —Resting orders are the cheaper side of maker/taker fees
  • —Short expiry means a stale price never sits on the book
  • —Avoids filling in the final hour, when the outcome is often already known

See Kalshi order types explained for more on resting limit orders versus immediate fills.

Step 6 — Settlement and P&L

Once the station's official reading is published, each bet is scored. A YES leg pays $1 per contract if the high landed in the bucket; a NO leg pays $1 if it didn't. P&L is simply contracts × (payout − entry price). The desk's bet log below — the real component from the app, filled with mock paper bets — shows a resting bid, a filled bet and three settled ones.

Weather desk bet log · real componentsample data
MarketCity / dayForecastModelMarketEdgeSidePriceStakeP&LStatusPlaced
Seattle high, Nov 5: 58-59°FSeattle · 2026-11-0513.1°C12%29%-17.0%no0.71$10.00—
working
Nov 4, 03:20 PM
Miami high, Nov 5: 84-85°FMiami · 2026-11-0529.3°C39%22%17.0%yes0.22$10.00—
filled
Nov 4, 01:40 PM
NYC high, Nov 4: 60-61°FNew York · 2026-11-0417.4°C17%33%-16.0%no0.67$10.00$4.92
settled
Nov 3, 02:05 PM
London high, Nov 4: 16°CLondon · 2026-11-0416.2°C37%20%17.0%yes0.20$10.00$40.00
settled
Nov 3, 09:15 AM
Chicago high, Nov 3: 70-71°FChicago · 2026-11-0321.6°C36%18%18.0%yes0.18$10.00-$10.00
settled
Nov 2, 02:30 PM
Five paper bets across Kalshi, Polymarket US and Polymarket International: one resting bid, one filled, three settled (two winners, one loser). Each stake is 2% of a $500 paper bankroll, capped at $10.

Notice the shape of the results: the Chicago YES bet at 18¢ lost its full $10 stake, while the London YES bet at 20¢ returned $40. Buying under-priced long shots produces lumpy results — many small losses and occasional large wins — which is why a weather rule needs dozens of settled bets before its win rate means anything.

Kalshi vs Polymarket weather markets

Kalshi

  • —US cities, °F buckets (typically 2°F wide)
  • —Settles on the NWS daily climate report for a named station
  • —USD funding, candlestick history for backtests

Polymarket

  • —US and international cities; some buckets in °C
  • —Settlement source and station named in each market's rules
  • —Polymarket US (USD) or International (USDC)

The same city on two venues can settle on different stations, units or day boundaries, so the bot resolves the station separately for every venue's market group. For a broader comparison of the venues themselves, see Kalshi vs Polymarket for automated traders.

Common ways weather bots lose money

  • Wrong station. A forecast for the airport when the market settles on the city park station can be 2–3°F off on a sunny day.
  • Wrong day. Taking the daily max in UTC instead of the station's local day shifts the window by hours — sometimes past the afternoon peak.
  • Ignoring rounding. A bucket boundary at 61°F really sits at 61.5°F once rounding is applied; get it wrong and every edge near the boundary is skewed.
  • An overconfident σ. Using a tighter error than the forecast actually achieves invents edge that isn't there.
  • Trading too far out. A rule tested at 1-day lead tells you nothing about 3-day lead, where forecast error is much larger.
  • Thin books. A 15-point edge on a bucket with 40 contracts on the ask is worth $6, not a strategy.

Backtesting a weather rule without look-ahead

A weather backtest has a special trap: if you replay old markets against today's archive of what the forecast said, you may be using a forecast that was revised after the market opened. Rebeti's weather backtest uses ECMWF's previous-day forecasts — what the model actually published one day before each target date — together with the venue's historical prices, and runs them through the same pricing code as the live desk. More on method in how to backtest a prediction market strategy.

Paper trade it first

Weather edge looks obvious in hindsight. Run the rule on a paper bankroll against live quotes — same forecast feed, same entry logic, same resting-order behavior — and only flip it live once a few dozen settled bets show the edge survives real spreads and fills.

Build a Kalshi weather bot with Rebeti

Rebeti's weather desk prices every open city and bucket against the ECMWF forecast at the exact station each market settles on, shows the edge column live, and lets a rule trade it in paper mode — or live on Kalshi, Polymarket US or Polymarket International once you trust it. No code required.

Try the weather desk →

Frequently asked questions

How does a Kalshi weather trading bot work?

+

It finds the weather station a temperature market settles on, forecasts the daily high at that station, converts the forecast into a probability for each bucket using a measured error model, and compares that probability with the market price. When the gap (the edge) is large enough, it places a small resting bid on the under-priced side and scores the bet when the official reading is published.

What weather station do Kalshi temperature markets use?

+

Each Kalshi temperature market names a specific National Weather Service station in its rules — for example Central Park for New York — and settles on that station's daily climate report. Always read the contract's rules, because the station, not the city, decides the outcome.

Which forecast model is best for weather markets?

+

Rebeti uses the ECMWF IFS model at 0.25° resolution, taken at the station's exact coordinates. Whatever model you use, what matters most is measuring its real error against resolved markets and using that error to turn the forecast into probabilities.

How much edge does a weather bot need before trading?

+

Rebeti's default is 15 percentage points between the model probability and the market price. Weather books are thin and spreads are wide, so smaller gaps are usually noise that the spread and fees eat up.

Can I paper trade Kalshi weather markets?

+

Yes. Rebeti runs weather rules on a paper bankroll against live Kalshi and Polymarket quotes, using the same forecast, pricing and order logic as live trading, so you can see real results before risking money.

Why only bet one day ahead?

+

Forecast error grows with lead time, and the error model was measured on 1-day-ahead forecasts. Betting further out would mean applying a σ that understates the real uncertainty, which inflates the apparent edge.