Skip to content

evan-kolberg/prediction-market-backtesting

 
 

prediction-market-backtesting

GitHub stars GitHub forks GitHub watchers

Licensing: Mixed Ruff uv Python Rust Rust Edition NautilusTrader GitHub last commit GitHub commit activity GitHub code size GitHub top language GitHub open issues

Relay Status r2.pmxt.dev CPU Load I/O Wait RAM Disk Mirror Service Hours Mirrored Latest File

Backtesting framework for prediction market strategies on Kalshi and Polymarket, built on top of NautilusTrader with custom exchange adapters. Plotting inspired by minitrade. This repo is still in active development.

Fantastic single & multi-market charting. Featuring: equity (total & individual markets), profit / loss ticks, P&L periodic bars, market allocation, YES price (with green buy and red sell fills), drawdown, sharpe (with above/below shading), cash / equity, monthly returns, and cumulative brier advantage. Charting preview /nautilus_pm/nautilus_trader/analysis/legacy_backtesting/plotting.py

If you find any bugs, unexpected behavior, or missing simulation features, PLEASE post an issue or discussion.

Detailed guides have been filed away in the docs index for better organization and long-term sustainability.

Table of Contents

Star History

Star History Chart

About

An extension of Nautilus Trader with custom Polymarket and Kalshi adapters for backtesting

Topics

Resources

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
LGPL-3.0
COPYING.LESSER
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors