{"repo":"Oddpool/PredictionMarketBench","free":true,"listed":false,"github":"https://github.com/Oddpool/PredictionMarketBench","clone":"git clone https://github.com/Oddpool/PredictionMarketBench.git","description":"A benchmark for backtesting prediction market trading agents using real Kalshi market replay data.","language":"Python","stars":27,"topics":["backtesting","backtesting-trading-strategies","benchmark","kalshi","kalshi-trading-bot","polymarket","polymarket-bots","prediction-markets","ai-trading"],"license":null,"category":"trading","readme_excerpt":"PredictionMarketBench A benchmark for evaluating prediction market trading agents using real Kalshi market replay data. Overview PredictionMarketBench replays real Kalshi episodes and evaluates trading agent performance under realistic execution constraints. An \"episode\" is one Kalshi event with multiple tickers/markets. - Input : Recorded orderbook snapshots and trade prints from Kalshi - Agent : Implements a trading policy using provided market data tools - Output : Equity curve, PnL, Sharpe ratio, drawdown, and other metrics Installation Quick Start Agent Interface Agents implement the Agent base class: Context Methods The AgentContext provides these methods: Method Description -------- ------------- get markets() List of all markets with best bid/ask get orderbook(ticker, depth) Full orderbook for a ticker get positions() Current positions per ticker get cash() Cash and equity balances place order(order) Submit an order get resting orders() View resting limit orders cancel order(order id) Cancel a resting order Order Types Included Episodes Episode Event Type Tickers Description --------- ------------ --------- ------------- KXBTCD-26JAN2017 Bitcoin Price 23 BTC price thresholds at Jan 20, 2026 5PM EST KXHIGHNY-26JAN20 Weather 6 NYC high temperature on Jan 20, 2026 KXNFLGAME-26JAN11BUFJAC Sports 2 NFL Playoffs: Buffalo vs Jacksonville KXNCAAF-26 Sports 2 College Football: Indiana vs Miami Execution Modes Taker-Only Orders execute immediately against the displayed orderboo","default_branch":null,"files":null,"tree":[],"storefront":"/r/Oddpool","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Oddpool/PredictionMarketBench/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}