RSSAmplifier

Blog

Predict & Profit Blog

Market analysis, bot updates, and automated prediction market trading strategy for Kalshi weather and inflation contracts.

predictandprofit.ioRSS feed ↗102 posts

Latest posts

Seven Defects in Four Months: What We Found When We Audited the Weather Bot

We ran the Weather Bot for four months, audited 112 completed trades, and found seven distinct defects. Here's what each one looked like in code.

The Market Was Right: How Kalshi Priced Our Trades to Within One Percentage Point

We ran a weather trading bot for four months and discovered the market already knew exactly what we thought we knew.

Why We Replaced Our Custom Ensemble with NOAA's National Blend of Models

After 112 trades and a Brier score worse than guessing, we audited our custom weather ensemble and discovered NOAA already publishes a better version of it for free.

Confident and Wrong: Why Our Model's High-Confidence Trades Lost Money

Our bot predicted 98% confidence and won 60% of the time. Here's the calibration failure that caused it, why overconfidence in binary markets is worse than admitting you don't know, and what we did about it.

Chicago Is Not O'Hare: The Settlement Station Mapping Mistake

Kalshi settles Chicago temperature contracts on Midway, not O'Hare. Here's how I found that out the hard way, and how to verify settlement stations programmatically before you trade.

We Audited 112 Trades and Found Our Model Had No Skill

Four months of automated weather trading, a $23 loss, and a Brier score worse than guessing. Here's the full post-mortem.

We Turned Down Google's AI Weather Model

Google's WeatherNext 2 beats ECMWF on 97% of benchmarks and costs nothing. We tested it and said no. Here's the measurement that killed it.

The Daylight Saving Time Bug That Broke My Weather Bot for 8 Months

Every losing trade my weather bot made fell in the DST window. Here is how I found it, what the code looked like, and the fix.

Building in Public at 60: What Nobody Tells You About Starting Late

An honest accounting of what starting a technical side project at 60 actually looks like, the real advantages, the real disadvantages, and why the math still works.

Polymarket vs Kalshi: An Honest Comparison for Algo Traders in 2026

A technical breakdown of Polymarket vs Kalshi for automated traders: regulation, liquidity, API quality, fees, and which platform actually makes sense to build on.

The PRD That Was Obsolete Before the Sprint Started

Product requirements documents written by non-engineers, for engineers who weren't consulted, describing features nobody asked for: a post-mortem on corporate spec theater and what I do instead.

Why Binary Contracts Are Actually Easier to Model Than Stocks

Binary prediction markets settle to 0 or 100, and that mathematical simplicity is exactly why a data engineer can build a profitable model for them but not for equities.

Kronos: What NVIDIA's 12-Billion-Candlestick Foundation Model Actually Is (And Isn't)

A factual breakdown of NVIDIA's Kronos financial time-series foundation model: what the benchmarks actually show, where it earns the hype, and why it is not a trading signal.

The Bug That Made My Bot Blind to Its Own Positions

A single wrong dict key in kalshi_client.py caused the Econ Bot to think it had zero open positions every time it checked, leading to repeated entries and phantom risk it couldn't see.

psycopg2 vs SQLAlchemy: Which One Should Your Trading Bot Use?

A direct technical comparison of psycopg2 and SQLAlchemy for trading bots, including the creator= pattern for peer auth and what the Predict & Profit bots actually use.

Nginx as a Reverse Proxy: The 20-Line Config That Runs My Production Site

The actual Nginx config serving predictandprofit.io, explained line by line, with Let's Encrypt SSL and why a $6 VPS beats $50 managed hosting for a Next.js site.

The Psychology of Losing Trades: What 9 Months of Automated Trading Taught Me About Detachment

Nine months of watching a bot lose trades I could have manually avoided taught me that the real skill in automated trading is not the algorithm, it is the discipline to leave it alone.

Git History as a Debug Tool: How I Found a Two-Week-Old Bug Using git bisect

A real debugging story: how git bisect helped me find a silent regression in the weather bot that had been hiding for two weeks inside a commit called 'misc fixes'.

Why I Stopped Asking for Permission to Automate My Own Job

The absurdity of hiding automation at work, and what happens when you stop asking for approval and just build.

Cron Jobs Are the Most Underrated Automation Tool in a Solo Builder's Stack

A real crontab walkthrough: how I use cron to run DB exports, generate blog posts, update results JSON, and health-check the trading bots without a single line of framework overhead.

ECMWF AIFS: The AI Forecast Model That's Quietly Beating the Physics Models

ECMWF's AI Integrated Forecasting System is matching or exceeding the deterministic IFS on most skill metrics, and understanding why it works changes how you think about ensemble weighting.

Why I Added 62 Unit Tests to a Bot I Already Trusted

The econ bot had two bugs that only showed up in production: a regime detection false positive and a strike consistency failure. Here is what I built to make sure they never come back.

How to Run Python Scripts on a Schedule Without Cron Breaking Everything

Cron breaks Python scripts in four specific ways, and each one has a fix that takes less than five minutes once you know what to look for.

ECMWF vs GFS: Which Weather Model Is Actually More Accurate for Kalshi Trading?

A data-driven comparison of ECMWF IFS and NOAA GFS model skill scores, with published RMSE verification data, and why the Weather Bot uses both.

Five Signals Are Better Than One: Inside the Econ Bot's Multi-Source Nowcast

A technical walkthrough of the Econ Bot's 5-source signal stack: how Cleveland Fed, FRED, BLS, BEA, and a homemade weighted nowcast combine into a single probability estimate for Kalshi CPI and PCE markets.

The Architecture Review That Took Longer Than Building the Feature

Enterprise architecture review boards exist to prevent mistakes, but somewhere they became the mistake.

PM2: The Process Manager That Keeps My Bots Running While I Sleep

How I use PM2 to keep both trading bots alive on a RackNerd VPS without babysitting them at 3am.

Regime Change Detection: How the Econ Bot Knows When the Market Has Shifted

How the Econ Bot's regime change detector works: the threshold math, what triggers a close, and why it's the most important risk feature in the whole system.

GitHub Actions from Scratch: The Deployment Pipeline I Wish I'd Had in Corporate

A real walkthrough of the GitHub Actions workflow running predictandprofit.io, including the actual YAML, and why it runs in under 90 seconds while enterprise CI/CD takes 45 minutes to lint a semicolon.

What the Kalshi Order Book Actually Looks Like at 2am (And Why That Matters)

Real observations of Kalshi market liquidity across the trading day, what thin books do to automated execution, and how the Weather Bot handles it without blowing up a position.

How I Auto-Generate This Blog With a $6 VPS, a Cron Job, and the Anthropic API

The exact pipeline that writes, formats, and publishes these posts automatically: cron, Python, Anthropic API, git push, GitHub Actions, Next.js rebuild, live.

nvm, Node Version Hell, and Why I Always Run `nvm alias default 18` First

Every new SSH session defaulting to Node 16 is a fixable problem, and the fix is one command you should run before you do anything else.

How I Backfill Missing Settlement Data from the Kalshi API

The Kalshi /portfolio/settlements endpoint, why settled trades go missing in the local DB, and the Python backfill script I use to reconcile everything.

What Gumroad Actually Pays Out (And What They Don't Tell You About Fees)

The real Gumroad fee structure in 2026, what you actually net on a $97 sale, and how to keep more of it by driving your own traffic.

Environment Variables, Secrets, and .env Files: How I Manage API Keys Across Three Servers

A practical guide to managing API keys across dev, staging, and prod without leaking secrets into git history.

Shipping a SQLite Bot to Customers When You Run PostgreSQL in Prod

How I translated the Predict & Profit bots from PostgreSQL with JSONB and peer auth to SQLite for customer distribution, and why SQLite is actually the right call.

Reddit Is Still the Best Free Marketing Channel for Technical Products in 2026

Which subreddits actually drive conversions for a technical trading product, how to post without getting banned, and the real numbers behind 12 sales and $810 with zero paid ads.

AWS S3 as a Free Weather Data Pipeline: How NOAA Publishes Forecast Data Without Rate Limits

How to pull NOAA AIGEFS forecast data directly from S3 using GRIB2 index byte-range tricks, and why NOMADS will eventually get you rate-limited into the ground.

Why I Use an LLC to Sell Software (And What It Actually Costs to Set One Up)

The real costs and practical reasons behind ItsMoreThanSoftware LLC: liability separation, tax treatment, buyer trust, and what changed after selling Predict & Profit source code.

The xarray Truthiness Bug That Crashed My Weather Bot Silently

How Python's or operator on an xarray DataArray raises a silent ValueError that took down my AIGEFS integration before it ever ran a real trade.

Auto-Close on Regime Change: The Feature I Was Afraid to Ship

How the Econ Bot's regime-change auto-close works, why I almost didn't ship it, and the testing path that made me confident enough to turn it on.

Building a Dead Simple Health Check for a Headless Python Bot

How to know your bot is still running at 3am without buying a monitoring SaaS: a heartbeat file, a lightweight HTTP endpoint, and a cron job that emails you when things go quiet.

How I Use Git as a Deployment System (And Why It Works Perfectly for Solo Projects)

My full git push to production workflow for solo Python projects: no Docker, no Kubernetes, no Jenkins, just SSH and a shell script that actually works.

Tax Implications of Prediction Market Trading: What I Learned the Hard Way

How Kalshi winnings get taxed, what the 1099 threshold actually means, why you need your own records, and what changes when you trade through an LLC.

VPS vs Managed Hosting: Why I Run Everything on a $6 RackNerd Box

Real pricing, real tradeoffs, and the exact setup I use to run two trading bots and a blog on a $6/month VPS.

Postgres on a $6 VPS: The Setup That Runs Two Live Trading Bots

The exact Postgres setup, schemas, and backup commands running the Weather Bot and Econ Bot on a $6 RackNerd VPS.

Thirty Years of Being the Smartest Person in the Meeting Who Couldn't Change Anything

The psychological cost of knowing the right answer and watching the wrong one get implemented anyway, for three decades.

My First Product Launch: What I Spent, What I Made, and What I'd Do Differently

Real numbers from the first few months of predictandprofit.io: hosting costs, Gumroad fees, time invested, first sale, and what marketing actually moved the needle.

The Difference Between a Side Project and a Product (I Learned It the Hard Way)

The moment a buyer emails you at 11pm with a setup question is the moment your side project becomes a product, whether you are ready or not.

NOAA's GraphCast Goes Operational: What It Means for Weather Trading Bots

NOAA's AI-enhanced forecast system went operational in December 2025, and the accuracy numbers are significant enough to change how an ensemble-based trading bot should weight its sources.