Bot for Kalshi
Sentiment & Reinforcement Learning

Pajamajoker / reinforcement-learning-for-kalshi-trading

by Prathamesh Joshi (Pajamajoker)

Repository metadata checked 2026-09-23. GitHub was accessible; latest repository push: 2025-12-23. This does not verify current trading compatibility, security, or returns.

What it does

DQN agent for hourly BTC threshold markets. Gymnasium-compatible RL environment; multi-day backtesting with policy comparison (random vs. baseline vs. DQN); Streamlit GUI.

What we learned from it

the RL framing for prediction markets is interesting but reward-shaping is hard. The author's policy comparison framework (always benchmark against a random baseline) is a useful discipline that many ML approaches skip.

Get the free weekly Kalshi flow report

One email every Monday with the past week's Kalshi activity: the largest fills, where size kept accumulating, the biggest movers, and the most traded markets. Numbers and tickers — no picks, no predictions.

You're on the list. The next report goes out Monday.

Don't want to maintain your own bot?

Bot for Kalshi is the no-code platform for automated prediction-market trading — visual builder, signals, encrypted credentials, kill switch. The infrastructure these open-source projects build, ready to use.

Start building →

One plan includes the visual builder, paper and live modes, hosted execution, and risk controls. Cancel anytime.