Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Back test your trading strategy on historical prices on any financial markets (Forex/Stock and others).

Notifications You must be signed in to change notification settings

yrlf/mkbacktester

Repository files navigation

Forex / Stock Back Testing Made Easy

Back test your trading strategy on historical prices on any financial markets (Forex/Stock and others).

main.py is the main file that you need to edit for historical prices file. Read comments in the files.

You could install TA-LIB from pre-compiled python wheels. Download from https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib

command on Windows:

pip install C:\Users\matloob\Downloads\TA_Lib-0.4.18-cp38-cp38-win32.whl

main.py file saves output to a csv file, and calls visualise.py which draws a plot of prices, buy and sell signals.

To manually observe the backtesting trading data use jupyter notebook visualise.ipynb

About

Back test your trading strategy on historical prices on any financial markets (Forex/Stock and others).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 72.1%
  • Python 27.9%

AltStyle によって変換されたページ (->オリジナル) /