whatisgithub

What is polymarket-weather-bot?

hydra-node/polymarket-weather-bot — explained in plain English

Analysis updated 2026-05-18

122TypeScriptAudience · generalComplexity · 3/5LicenseSetup · moderate

In one sentence

A TypeScript bot that trades Polymarket's daily weather prediction markets by comparing professional forecast models against market prices and sizing bets with the Kelly criterion.

Mindmap

mindmap
  root((WeatherBet))
    What it does
      Compares forecasts to market price
      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
    Tech stack
      TypeScript
      Node.js

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 mispriced bets against professional weather forecasts

USE CASE 2

Size prediction market bets using fractional Kelly sizing instead of guessing a stake amount

USE CASE 3

Test a weather trading strategy risk-free in paper mode before connecting a real wallet

USE CASE 4

Generate a report of past resolved weather markets to see how a forecasting strategy has performed

What is it built with?

TypeScriptNode.js

How does it compare?

hydra-node/polymarket-weather-bothvardhan878/ghostworknick-baumann/gobby
Stars122122122
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatehard
Complexity3/54/54/5
Audiencegeneralgeneraldeveloper

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 Polymarket private key and 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.

So what is it?

WeatherBet is a TypeScript bot that trades weather related prediction markets on Polymarket, specifically the daily markets tied to airport temperature readings for cities like New York, Chicago, and Dallas. The core idea is to compare professional weather forecast models against the prices the market is offering, and only trade when the forecast suggests the market price is meaningfully off. The bot pulls forecast data from multiple sources, including the ECMWF and HRRR and GFS models through the Open-Meteo service, along with live airport weather readings from Aviation Weather. It compares the probability these models imply for each temperature bucket against what Polymarket is asking, and only enters a trade when the calculated edge clears a set threshold. Position size is set using a method called fractional Kelly sizing, which scales the bet to the size of the edge rather than betting the same amount every time. The bot also keeps a local record of resolved markets and uses that history to adjust its own confidence over time. Before risking real money, the bot can run in paper trading mode, simulating trades against Polymarket's public prices with a fake balance and no wallet required. Switching to live trading means providing a private key and a Polymarket proxy wallet address in a configuration file, after which the bot places real orders on Polymarket's order book. Risk controls include a stop loss around 20 percent, a rule that trails the stop to breakeven once a position gains 20 percent, and a filter that skips a trade if the bid ask spread is too wide. Everything is controlled through a command line interface with commands to run the main scan loop, check current balance and open positions, or generate a report of past resolved markets. Setup requires Node.js and a clone of the repository, followed by copying an example environment file and installing dependencies with npm. The README describes the software as intended for education and research, states that the person running it is responsible for every trade, and warns that weather markets can move sharply if a forecast model is wrong or a station's data is revised late. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me set up WeatherBet's .env file for paper trading against Polymarket's weather markets.
Prompt 2
Explain how WeatherBet's expected-value gate and fractional Kelly sizing decide whether and how much to bet.
Prompt 3
Walk me through switching WeatherBet from paper mode to live trading, including what a Polymarket proxy wallet is.
Prompt 4
Add a new data source to WeatherBet's forecast engine alongside Open-Meteo and Aviation Weather.

Frequently asked questions

What is polymarket-weather-bot?

A TypeScript bot that trades Polymarket's daily weather prediction markets by comparing professional forecast models against market prices and sizing bets with the Kelly criterion.

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 → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.