From the course: Getting Started with Python for Finance
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Solution: Candlestick plot for 2019 - Python Tutorial
From the course: Getting Started with Python for Finance
Solution: Candlestick plot for 2019
(upbeat music) - [Instructor] Okay, I'm going to demo how to solve this challenge. Again, if you haven't done the challenge, please pause this and don't watch it. Go do the challenge and then come back and watch this and see how I did it. So, I'm a lazy programmer so what I'm going to do is, I'm actually going to come up here to my previous chain and I'm just going to copy this, and I think that's perfectly fine. I think you should be more than willing to take code that works and reuse it. Okay, so here is our code. So this outputs January 2018 through June of 2018, and it's not even showing our candle here. So, why isn't it showing our candle? The issue is that we are passing in the access for it to plot on and that was already created and so, Jupiter doesn't create a new access and stick it in here. So, we're actually going to have to come up here and copy another piece of code too. We can leave that function…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.