Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 715 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 715 Bytes

Simple Moving Average Crossover Trading Strategy

Install dependencies:

pip install mplfinance
pip install yfinance
pip install pandas
pip install numpy

Just clone this repostiory and run the main script or open and run it into a jupyter book.

Signals

The strategy takes the close prices and gets the 5 and 30 moving averages in order to trigger BUY/SELL signals everytime the 5 crosses the 30 SMA.

The signals are going to be plotted into the chart using MPL Finance library.

Captura de Pantalla 2023-05-02 a la(s) 12 11 56

Author