From the course: Build Three Real-World Python Applications
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Solution: Analyze Microsoft stock - Python Tutorial
From the course: Build Three Real-World Python Applications
Solution: Analyze Microsoft stock
- [Instructor] Welcome back. Nice job analyzing the Microsoft stock to help Todd make a wise decision for his investment. If you felt overwhelmed with this challenge, do not worry. I will explain step by step what should have been filled in and what each line of code is doing. Once you run the code at the top of our coding file, you can begin pulling in data for the Microsoft stock. For this first line of code, we want to get the monthly data for our Microsoft stock, so all we have to put in here is MSFT to use with our get monthly function. When you run this, you will get the monthly stock data for Microsoft. Next we will pull in the weekly stock data for Microsoft. Again, this uses a very similar, like the monthly data above. So we do TS1 dot get underscore weekly, and we use it with our Microsoft symbol, so again, MSFT. We run this and then now you can see the weekly stock data for Microsoft. Next we want to pull in our…
Contents
-
-
-
-
What are APIs?2m 16s
-
(Locked)
Introducing Alpha Vantage API4m 1s
-
(Locked)
How to access Alpha Vantage data3m 7s
-
(Locked)
How to use an API key5m 32s
-
(Locked)
How to pull stock data with the alpha_vantage package: Part 14m 5s
-
(Locked)
How to pull stock data with the alpha_vantage package: Part 22m 1s
-
(Locked)
How to pull stock data with the requests package5m 55s
-
(Locked)
How to put stock data into a DataFrame6m 8s
-
(Locked)
How to use Alpha Vantage functions: Part 14m 5s
-
(Locked)
How to use Alpha Vantage functions: Part 23m 21s
-
(Locked)
How to use Alpha Vantage functions: Part 36m 25s
-
(Locked)
Challenge: Analyze Microsoft stock2m 31s
-
(Locked)
Solution: Analyze Microsoft stock2m 32s
-
-
-