Practical overview
When it fits
Use it for historical strategy research when you want configurable rules and multiple outputs for reviewing simulated trades and performance.
Who it is for
- Crypto researchers comparing long or short strategy rules against historical candles.
- Python users who want to adapt indicators, entry rules or exit conditions.
- Data-science and machine-learning practitioners seeking generated train and test datasets.
Documented uses
- Run an example Bitcoin strategy against historical data.
- Review simulated opened and closed positions, statistics and strategy results.
- Adjust trading parameters and strategy logic to compare variants.
- Generate train.csv and test.csv for downstream research.
Requirements & limits
The project is a public GitHub repository under the GPL-3.0 license. Its documented setup uses Python, pip and a local command-line run.
- The README documents Python setup and command-line execution rather than a hosted trading interface.
- Configuration includes trading pair, candle periods, fees, leverage, long/short settings, and take-profit and stop-loss values.
- Downloaded data is saved for offline reuse.
- Outputs include statistical and position reports, plot files, an interactive position chart, deposit_changes.csv, positions.csv, train.csv and test.csv.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the example Bitcoin backtest
Set up the project and run its documented example strategy.
Before you start
- Python 3 with pip3
- Access to the public GitHub repository
Steps
Clone the repository.
Install dependencies with the command below.
pip3 install -r requirements.txtRun the command below.
python3 main.py
Expected outcome
The README says this runs an example Bitcoin strategy backtest.
Guide limitations
- This is a historical-data simulation, not a live trading procedure.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- Erfaniaa/crypto-trading-strategy-backtester · Official homepage title · retained in its source language

