explaingit

risedownlabs/polymarket-weather-bot

Analysis updated 2026-05-18

121TypeScriptAudience · generalComplexity · 3/5LicenseSetup · moderate

TLDR

A TypeScript bot that trades Polymarket's daily airport temperature markets by comparing weather model forecasts to market prices and sizing bets with fractional Kelly.

Mindmap

mindmap
  root((WeatherBet))
    What it does
      Compares forecasts to prices
      Trades temperature markets
      Kelly position sizing
    Data sources
      Open-Meteo forecasts
      Aviation Weather METAR
      Polymarket Gamma
    Modes
      Paper trading
      Live CLOB trading
    Risk controls
      Stop loss
      Breakeven trail
      Spread filter
    Limitations
      Model error risk
      Station data revisions

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically scan Polymarket's daily temperature markets for trades where a weather forecast disagrees with the market price

USE CASE 2

Size prediction market bets with fractional Kelly sizing based on a calculated edge

USE CASE 3

Test a weather trading strategy in paper mode before connecting a live Polygon wallet

USE CASE 4

Review a report of resolved weather markets to check win rate and forecast calibration before going live

What is it built with?

TypeScriptNode.js

How does it compare?

risedownlabs/polymarket-weather-bothvardhan878/ghostworkhydra-node/polymarket-weather-bot
Stars121122122
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencegeneralgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Live trading requires a Polygon wallet private key and Polymarket proxy wallet address, paper mode needs neither.

Use, modify, and distribute freely, including for commercial purposes, as long as you keep the original copyright notice.

In plain English

This repository is another implementation of WeatherBet, a TypeScript bot that automates trading on Polymarket's daily temperature prediction markets. Like similar weather trading bots, it works by comparing forecasts from multiple weather models against the prices Polymarket is currently offering, and only trades when it calculates a meaningful edge. The bot pulls forecasts from the ECMWF and HRRR and GFS models by way of the Open-Meteo service, along with live airport weather readings called METAR from Aviation Weather. Markets resolve against specific airport station codes, such as KLGA for LaGuardia, rather than a general city location, so the bot maps each market to the correct station. Before placing a trade it checks that the expected value clears a set threshold and that the bid ask spread is not too wide, then sizes the position using fractional Kelly sizing, which scales the bet to the size of the calculated edge. A stop loss around 20 percent and a rule that moves the stop to breakeven after a 20 percent gain are both built in to manage risk once a position is open. The bot can run in two modes. Paper mode simulates trades using Polymarket's public prices and a fake balance, requiring no wallet at all, and is described as the way to start. Live mode requires a Polygon wallet private key and a Polymarket proxy wallet address supplied through a configuration file, after which the bot places real orders on Polymarket's order book. Resolved markets are saved locally and can be reviewed with a report command that shows win rate and how well past forecasts calibrated against outcomes, which the README suggests checking before switching to live mode. Setup requires Node.js version 20.10 or newer. After cloning the repository, a person installs dependencies with npm and copies an example environment file to configure their settings. Everything after that runs through a small set of command line commands to start the scan loop, check status, or pull a report. The README lists clear limitations: a wrong forecast model, a relocated weather station, or a late correction to a METAR reading can all cause a market to resolve differently than expected, and the fills and slippage seen in live trading will differ from the simulated prices used in paper mode. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install and configure this WeatherBet repo for paper trading against Polymarket's weather markets.
Prompt 2
Explain how this bot maps a Polymarket weather market to the correct METAR airport station.
Prompt 3
Walk me through the risk controls this bot uses, including the expected value gate and the spread filter.
Prompt 4
Show me how the report command's calibration output should look before I would consider switching to live mode.

Frequently asked questions

What is polymarket-weather-bot?

A TypeScript bot that trades Polymarket's daily airport temperature markets by comparing weather model forecasts to market prices and sizing bets with fractional Kelly.

What language is polymarket-weather-bot written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js.

What license does polymarket-weather-bot use?

Use, modify, and distribute freely, including for commercial purposes, as long as you keep the original copyright notice.

How hard is polymarket-weather-bot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is polymarket-weather-bot for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.