This script gives mathematical way of making decisions. You can see how many times in the past has the stock performed a certain, acoording to which you can make an informed decision.
-
Sign up here, it's free - https://www.alphavantage.co/support/#api-key
-
Install alpha vantage, run this command in the terminal pip install alpha_vantage
-
Install matplotlib, run this command in the terminal pip install matplotlib
-
Paste your api key in the code (Line 14)
-
Run the python file and that's it.
for more information read documentation https://www.alphavantage.co/documentation/