Backtesting / Your own data
Backtesting.py
A small Python library for testing entry and exit rules on historical price bars.
01
Who is it for?
Beginners with Python and suitable OHLC data who want a first backtest.
02
A simple example
Test a simple rule on gold or stock bars with realistic transaction costs.
03
What it does not do
It neither supplies every dataset nor places live trades; you must validate the data.
04
Start safely
Read the project’s official getting-started guide, use sample or historical data, and keep real trading and exchange keys out of your first experiment.
Getting startedThese are independent open-source projects. This guide does not provide installation support, a verified live setup or investment advice.