MoonsatProtocol/Polymarket-Weather-Bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript bot for Polymarket that focuses on weather markets, especially temperature contracts. I want it to pull forecast data from the National Weather Service, compare that to current market pricing, and flag trades that look mispriced using a Kelly style sizing approach. By default it should run in paper mode and just show signals, but it should also have a simulated live mode that tracks trades against a starting balance of $1,000 and saves everything to a local simulation.json file so I can review performance over time.
Please make the runtime settings come from a .env file, including the private key, proxy wallet address, thresholds, max trades, minimum hours to resolution, and a list of locations. Validate the wallet values on startup and stop with a clear error if they look wrong. I also want simple commands to run once, run on an interval, reset the balance, and show open positions with PnL. If there is already a basic dashboard page, wire it up so it can read the simulation data locally. Look up current docs online if you need to.
Have a live product UI? Try website reverse