Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You must choose at least 1 0 stocks I will provide you with instructions on using AlphaVantage web JSON API, but you can use another
You must choose at least 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 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 avgprice # buy
elif price avgprice # sell
Your program should save the data in csv files ill let you decide the formatcolumns 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 this stock today
Store your results to your strategy in a results.json, and specifically identify which stock and strategy made the most profit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started