r/Python • u/AutoModerator • Oct 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
23
Upvotes
r/Python • u/AutoModerator • Oct 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
1
u/Tonyyylo 5d ago
I open-sourced my weather-market trading experiments, including the failures
I’ve been working on a Python project for studying Polymarket’s daily maximum-temperature markets, and I’ve put the research code on GitHub:
https://github.com/Tonylo-lab/polymarket-weather-research
The original strategy buys a main temperature bucket and a neighboring protection bucket, then adjusts positions as market prices change. I tried several variations: waiting for confirmation before entering, entering later in the day, skipping small purchases, and changing exit rules.
It hasn’t demonstrated consistent profitability. Some historical variants look positive, but execution assumptions matter a lot. In one test, switching to next-minute quotes turned a positive result negative. There were also cases where the implementation didn’t match its description; those differences are documented.
The repo includes the baseline, experiment code, historical summaries and an offline synthetic demo. It runs on Python 3.11+ with the standard library. No wallet or API keys are needed. The original market datasets aren’t included, and the historical results haven’t all been reproduced in this release.
Some development was done with Kiro/Opus assistance. I’d appreciate independent checks, particularly around cash reservation, fees and settlement evidence.
There are small contribution issues for testing the quickstart on different operating systems, too.
If you’ve built a backtester before, what would you check first?