Answered step by step
Verified Expert Solution
Link Copied!

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 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 (ill 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 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Timeline for implementation report

Answered: 1 week ago

Question

a. What aspects of the situation are under your control?

Answered: 1 week ago