whatisgithub

What is weather-prediction-bot?

signal-trade-core/weather-prediction-bot — explained in plain English

Analysis updated 2026-05-18

336TypeScriptAudience · developerComplexity · 4/5Setup · hard

In one sentence

A TypeScript bot that reads daily weather forecasts and automatically bets on Polymarket temperature-range markets for cities worldwide.

Mindmap

mindmap
  root((Weather Bot))
    Data Sources
      National Weather Service
      Open-Meteo
    Modes
      Signal Only
      Paper Trading
      Live Execute
    Market Type
      City Temperature Ranges
      Fahrenheit and Celsius
    Requirements
      Polygon Wallet
      Node 18 Plus
      Env Config File

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

Bet automatically on Polymarket temperature-range markets based on live weather forecast data.

USE CASE 2

Preview trading signals in signal mode before any money or orders are involved.

USE CASE 3

Track simulated profit and loss in paper mode to test a strategy risk-free.

USE CASE 4

Run the bot on a 30-minute loop so it continuously checks forecasts and places trades on its own.

What is it built with?

TypeScriptNode.jsPolygon

How does it compare?

signal-trade-core/weather-prediction-botzhristophe/claude-mythos-ai-anthropic-appsimplifaisoul/osiris
Stars336336338
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardeasy
Complexity4/52/5
Audiencedevelopergeneralresearcher

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

How do you get it running?

Difficulty · hard Time to first run · 1h+

Execute mode requires a funded Polygon wallet with collateral currency and pre-authorized trading permissions.

The README does not state a license, so default copyright rules likely apply.

So what is it?

This is a Node.js and TypeScript program that automatically places trades on Polymarket, a prediction market platform, using daily weather forecasts. Polymarket runs markets where people bet on whether the highest temperature in a given city will land within a certain range on a specific day. This bot fetches weather forecasts, figures out which temperature bucket a city is likely to fall into, and then either prints the signal, simulates a trade, or places a real order. The bot pulls forecast data from two sources depending on location: the US National Weather Service for American cities, and Open-Meteo for cities elsewhere in the world. It handles the difference between Fahrenheit and Celsius markets automatically, so US city markets are never confused with international ones. You configure which cities to monitor and what price thresholds to use via a .env file. There are three operating modes. Signal mode just prints what the bot would do, without placing any orders or changing any state. Paper mode records simulated trades and tracks a fake profit-and-loss balance in a local file. Execute mode places actual limit orders on Polymarket through the Polygon blockchain, which requires a funded wallet with Polymarket's collateral currency and pre-authorized trading permissions. You can also run the bot on a recurring loop, so it checks and trades every 30 minutes until you stop it. Setup involves cloning the repository, running npm install, copying the example environment file, and filling in your wallet credentials and trading parameters. The documentation strongly suggests testing with signal and paper modes before committing real funds. The project targets Node.js version 18 or higher and supports multiple wallet signature types including standard wallets, Polymarket proxy wallets, and Gnosis Safe.

Copy-paste prompts

Prompt 1
Explain how a bot could compare National Weather Service and Open-Meteo forecast data to pick a temperature bucket for a prediction market bet.
Prompt 2
Help me build a three-mode trading bot in TypeScript: a signal-only mode, a paper-trading mode, and a live-execute mode.
Prompt 3
How would I configure a .env file in Node.js to hold wallet credentials and per-city trading thresholds safely?
Prompt 4
Walk me through what a Polygon wallet needs, such as collateral currency and trading permissions, to place real orders on Polymarket.
Prompt 5
Explain the difference between Fahrenheit-based and Celsius-based weather markets and how a bot should handle both.

Frequently asked questions

What is weather-prediction-bot?

A TypeScript bot that reads daily weather forecasts and automatically bets on Polymarket temperature-range markets for cities worldwide.

What language is weather-prediction-bot written in?

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

What license does weather-prediction-bot use?

The README does not state a license, so default copyright rules likely apply.

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

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is weather-prediction-bot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.