Plotly Dash - Real time candlestick dashboards (Python only)
HTML-код
- Опубликовано: 8 июн 2024
- We create a real time trading dashboard using Plotly Dash. We retrieve OHLC data from Bitstamp and plot out our indicators in real time. You'll learn the fundamentals of plotly Dash, how to create callbacks, and how to style your dashboards.
00:00 - Intro
03:08 - Dash Basics
14:36 - Candlestick and indicator charts
27:28 - Dropdown Menus
35:13 - Adding Range Slider
42:26 - Styling and themes
56:53 - Conclusion
Binance Websocket Data:
• TimescaleDB for Algotr...
That was quick! Great video, went through the tutorial all was clear and no issues, definitely a good intro to dash for myself!
This video is gold.
I`m using pyodbc with pandas to pull and shape the data from our server to visualize some processes. Works like a charm!
Very nice !! Thank you ! This is what i wanted to see !
this is wonderful! Thanks!
Orate video is that lad. I'm buying loads of candles for winter like coz it's gonna be rough I reckon!
Hey man I follow your videos , you are great God blessed you and thank you
Legend!
Wow, nice!
Thanks for very beautiful tutorial, how to sync between RSI and price Pane and specially if you want to move both left or right togather or double click and zoom or select area and zoom
HI Chad, great video. I wanted to know if it would be possible to update only the last candle with the last value that was obtained from let's say a websocket, and not redraw the entire graph each second?
Is there any way of vertically scalling the charts like other charting software offers? The candles look really flat in plotly charts...
Thank you for the detailed video!
Would have been nice to set the range finder to scale to from x date to y date but this was a great tutorial regardless.
Hey Chad, so i have a question, if you use 2 years worth of data, with indicators and alot more stuff on there,
Then basicly the plotly update will be too slow to actually follow up with the data, and sometimes cause it to never show the data.
Do you know if theres an alternative to redraw, or where you can make plotly only redraw the current candle your updating?
I find it very difficult to find as solution for this.
Amazon video. I am currently trying to plot live candlestick data using Alpaca and Dash. Could you do a similar video using web sockets from alpaca ?
Hi Chad, thatks for very informative content, I learned quite a bit about dash and plotly. Im trying to figure out how to have more than 1 indicator on the same plot graph. Do you possibly know what component I need to tackle?
It's the same as any other plotly graph, just add an extra trace to the figure
I like the dark theme. This has got me thinking... I need to monitor the top ~30 altcoins in real-time. Volatility often starts there before major moves in Bitcoin, which is what I mainly trade. Web-sockets are probably best as you suggested. I'm just a little concerned about the max' download limitations.
Just noticed that Plotly has a "subplot" feature that displays multiple charts on the same Fig too.
Thanks , very good
amazing video bro made the whole thing just did not add the range slider as for me it had no utility
Hi, and thanks for this amazing video, I wonder if there is any free api for forex market as well?
could you make a tutorial on a plotly/matplotlib tool to actually draw shapes on the chart, like in a trading platform?
I can certainly investigate. Although I doubt it's possible without some serious javascript
Hi Chad, very interesting tutorial. Can you make a video where you streaming a candle footprint?
Not sure what you mean
@@ChadThackray I mean a footprint chart, I share a link with a image to make you understand. www.dropbox.com/s/ca03mjn3nt3smzl/MNQ-06-10-2.png?dl=0
@@ChadThackray Footprint charts are one of the advanced charting methods for orderflow analysis. actually, im paying for it because there is no free tool. it is really challenging to code it from scratch. if possible i'd like to watch it too. great channel by the way, liked your problem solving style
en.wikipedia.org/wiki/Order_flow_trading
Hi,
Nice one. I want to plot graph for different tickers at the same time. I am streaming for a list of tickers at the same time. Is this possible to update this for a list of tickers?
Yep, haven't done it myself but you could try multiple callbacks, or returning a list of figures from our main function
@@ChadThackray thanks, let me try. If you can get it with the set up please let me know or request to have a video.
Hey mate! Where can I download the code?
Hi Chad, I'm going through this video and I think Bitstamp has changed its API. I'm getting an error of "callback error updating count-up.children" and it is also giving me an error of "TypeError: string indices must be integers, not 'str'. This is happening after the json language. I am typing ['open'] and it likes that but after that I type ['high'] and then I get the TypeError. Please help!
I'm not going to be able to help you from that error message. Perhaps try stack overflow
how do you avoid plotly to show the gaps between dates?
There's an option for it when plotting. Have a look in the plotly docs
I got this: Input('range-slider','value'),)
^
SyntaxError: incomplete input
Anyone got github link for this? Seems awesome
hello I'm trying to develop a platform written in python to do financial analysis I'd like to find someone to develop it with. Write to me if you are interested Unfortunately I find people who ask a lot of questions but don't know how to solve problems and who are able to think in an unconventional manner thanks.
Hey. You can find my website / email on the 'about' page on my channel.
I'm not currently taking on new clients due to high demand but perhaps we can get something organised for a few months down the line