You must choose at least 10 stocks.
I will provide you with instructions on using AlphaVantage web JSON API, but you can use another if you like.
Your analysis must include 3 strategies. You can reuse mean reversion and simple moving average, but you need to add one more.
If you have no idea what another strategy could be, you can use Bollinger Bands. Simply modify the logic to the simple moving average...
if price > avg_price * 1.05 # buy
elif price < avg_price * .95 # sell
Your program should save the data in CSV files (I’ll let you decide the format/columns of the file).
Your program should be able to save new data into the files. Meaning, when I go to run your program, it should go get the latest data, update the files, and run new analysis.
If your program detects a buy signal or sell signal on the last day in the data, print a message like “You should buy/sell this stock today”.
Store your results to your strategy in a results.json, and specifically identify which stock and strategy made the most profit.