Python for Finance: Learn how to make candlestick graphs with stock data using plotly

preview_player
Показать описание
Today you will learn how to create candlestick stock charts with plotly. We will include moving average terms within our candlestick chart and explore how to create a subplot to visualise volume as a bar graph beneath your primary price chart.

As a high-level programming language, Python is a great tool for financial data analysis, with quick implementation and well documented API data sources, statistical modules and other frameworks related to the financial industry. We will be using Jupyter Lab as an interactive web browser editor for this series due to ease of use, and presenting code in a live notebook is ideal for this tutorial series.

This is the second video of many on the topic of Python for Finance. The series will include general techniques used for financial analysis and act as an introduction for more in-depth tutorials that we may explore later (such as time series modelling, building financial dashboards, machine learning ect.).

★ ★ Code Available on GitHub ★ ★

★ ★ QuantPy GitHub ★ ★

★ ★ Discord Community ★ ★

★ ★ Support our Patreon Community ★ ★
Get access to Jupyter Notebooks that can run in the browser without downloading python.

★ ★ ThetaData API ★ ★
ThetaData's API provides both realtime and historical options data for end-of-day, and intraday trades and quotes. Use coupon 'QPY1' to receive 20% off on your first month.

★ ★ Online Quant Tutorials ★ ★

★ ★ Contact Us ★ ★

Disclaimer: All ideas, opinions, recommendations and/or forecasts, expressed or implied in this content, are for informational and educational purposes only and should not be construed as financial product advice or an inducement or instruction to invest, trade, and/or speculate in the markets. Any action or refraining from action; investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied in this content, are committed at your own risk an consequence, financial or otherwise. As an affiliate of ThetaData, QuantPy Pty Ltd is compensated for any purchases made through the link provided in this description.
Рекомендации по теме
Комментарии
Автор

A few months ago, I started exploring finance analysis using python. I found it fascinating and with infinite potential. I already read and browse different videos and sites, and yours are clearly the best and most focused on this matter. Thank you very much for all the effort making your videos. Every second of it is worth it.

lfmtube
Автор

thank you for sharing this, i actually used it and it really helped me in stock analysis . a question from me- is it possible to create moving average for more than one stocks? i am struggling to get this done for 10 stocks in my watch list using above ?

vid
Автор

Great video..learned quite a bit from it. Two questions:
1. is it possible to have that range slider at the bottom of the two plots
2. i am iterating over a list dictionary that tells me how to draw a subplot. in your code, you specify the height of the subplots in the make_plot function. Is it possible to set the height as you are building the traces and adding them to the figure?

MS-fpjq
Автор

Thanks for this video. I used plotly to display candlestick chart. But the candles are not changing size vertically which makes it less interactive. Any idea how can we implement that?

vivekkoul
Автор

Hey, thanks! But what if i want to show buy and sell signals (like scatter in matplotlib)

alibulus
Автор

how to implement this data for mt4 chart?, how to deploy?

murugan
Автор

You look quite handsome to me but I don't think it's necessary to see a small window of you while working - it's quite dysfunctional.

aurorapezzuto
Автор

i tried diffrent notebooks tried so many different ways to use pdr.get_data_yahoo but it is not working please help me 🥲

sanskarmankar
join shbcf.ru