Skip to content

slurpxbt/crypto-backtest-module

Repository files navigation

crypto-backtest-module

module for backtesting trading strategies based on candle data

Instructions how to use the script

Required packages:

  • python-binance
  • pandas
  • time
  • matplotlib
  • numpy
  • If any other are missing just pip install them

How to run backtest template:

  1. Run load_update_tickers.py this will update existing data in the data folder

    • At the end of this file specify tickers and timeframes you want to download
    • If you want to have only your data delete files in data folder and run script again(It can take some time if you want 1min data [could be up to an 1h for 2 tickers])
    • Every time you want to update data to the newest you should run this script
  2. When data is downloaded open backtest_template.py

    • in this file you can test strategies
  3. Although this is really easy to use you should know atleast some python to be able to use it

If you have any question regarding the scripts you can ask me on twitter @slurpxbt

About

module for backtesting trading strategies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages