/Backtesting

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Backtesting

historical at exampleHist.py:

  • 4 examples of strategies: Buy & Hold, MACD, RSI and Parabolic SAR

intraday at exampleIntr.py:

  • 2 examples of strategies: Buy & Hold and MACD

tick-by-tick at exampleTick.py:

  • 2 examples of strategies: Buy & Hold and Moving Average as Mean Reversal

use python3 to run files: $ python3 exampleHist.py