prediction-markets
github.com/RasmusCodes/prediction-marketsA prediction-market laboratory with exchange simulator, pricing engine, AMM, LP arbitrage, backtester, dashboard, and an empirical paper covering Kalshi and Polymarket.
Automated market maker, LP arbitrage, and backtesting framework for prediction market pricing research
RasmusCodes/prediction-markets is a self-contained research laboratory rather than another copy-trade bot. The repo bundles an exchange simulator (matching engine), a pricing engine, an automated market maker, an LP arbitrage module, a backtester, a Next-style dashboard, and an empirical paper analyzing Kalshi and Polymarket data. The HTML language tag is misleading — most substantive logic is likely JS/TS or Python embedded, and the 2.7MB size reflects bundled data and paper assets rather than a single binary. Strategically it focuses on structural arbitrage (LP vs AMM mispricing) and market-making research rather than directional signals, which is the more interesting side of the prediction-market space. Code quality is unknown given zero stars and a same-day creation date, but the artifact mix (paper + simulator + backtester) is what serious quant review looks like, not the usual 'AI bot, guaranteed 20% APY' template. Malware risk is low: no huge binary, no garbled username, no clone-fingerprint size, and the description is specific enough that a throwaway account would not bother writing it. The main caveats are (1) no community validation yet, (2) the paper's empirical claims need to be checked before citing, and (3) the 'AMM+L P arbitrage' framing implies assumptions about liquidity on Kalshi and Polymarket that may not hold in live books. Best for researchers and quant devs who want a sandbox to study prediction market microstructure; not a turnkey trading bot. Recommend monitoring for a week to see if README, tests, or commit history appear before cloning.