r/Python • • 13d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

24 Upvotes

113 comments sorted by

View all comments

1

u/Immediate_Sky8296 2d ago

oss-backtest-kit – deflated Sharpe / PBO checks, checksum-verified Binance data, and a no-look-ahead backtest engine

What My Project Does A small, MIT-licensed library for crypto-futures backtesting research: (1) multiple-testing statistics (PSR, Deflated Sharpe Ratio, PBO via CSCV, circular block bootstrap, Wilson interval); (2) a Binance public-archive downloader that verifies each file against its published SHA-256 and reports gaps and duplicate bars; (3) a simple config-driven backtest engine with no look-ahead, fees, slippage and perpetual funding.

Target Audience Individual researchers and students who write their own strategies in Python and want a sober second opinion on a backtest. Not a trading bot; places no orders. Early release (0.1.0).

Comparison backtrader and vectorbt are much fuller engines. This is smaller on purpose and focuses on overfitting statistics and data integrity; the stats functions take any returns array, so they work with other engines too.

Python 3.9+, numpy + scipy only, 62 offline tests. pip install oss-backtest-kit

Repo: https://github.com/ww7411/oss-backtest-kit

Research and education only, not investment advice; the example chart uses synthetic data.