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...

Комментарии • 39

  • @OllieFeraher
    @OllieFeraher Год назад +2

    That was quick! Great video, went through the tutorial all was clear and no issues, definitely a good intro to dash for myself!

  • @karolstopinski8350
    @karolstopinski8350 Год назад +1

    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!

  • @skateforlife3679
    @skateforlife3679 Год назад

    Very nice !! Thank you ! This is what i wanted to see !

  • @whatsthememe2913
    @whatsthememe2913 Год назад +1

    this is wonderful! Thanks!

  • @kirill.yudkin
    @kirill.yudkin Год назад

    Orate video is that lad. I'm buying loads of candles for winter like coz it's gonna be rough I reckon!

  • @nimaheydarzadeh343
    @nimaheydarzadeh343 Год назад

    Hey man I follow your videos , you are great God blessed you and thank you

  • @sulmanshah6083
    @sulmanshah6083 Год назад

    Legend!

  • @ricgondo
    @ricgondo Месяц назад

    Wow, nice!

  • @SweetMusical
    @SweetMusical 2 месяца назад

    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

  • @sanjeetsingh4743
    @sanjeetsingh4743 9 месяцев назад +2

    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?

  • @vladvlad8749
    @vladvlad8749 Год назад +1

    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!

  • @Matt-Banham
    @Matt-Banham Год назад

    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.

  • @VIL4IN
    @VIL4IN Год назад

    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.

  • @LuisALopez-rl8fs
    @LuisALopez-rl8fs Год назад

    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 ?

  • @arturKrzyzak
    @arturKrzyzak Год назад

    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?

    • @ChadThackray
      @ChadThackray  Год назад

      It's the same as any other plotly graph, just add an extra trace to the figure

  • @J2897Tutorials
    @J2897Tutorials Год назад

    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.

    • @J2897Tutorials
      @J2897Tutorials Год назад

      Just noticed that Plotly has a "subplot" feature that displays multiple charts on the same Fig too.

  • @james789jan2
    @james789jan2 Год назад

    Thanks , very good

  • @ishaannaolekar3126
    @ishaannaolekar3126 Год назад

    amazing video bro made the whole thing just did not add the range slider as for me it had no utility

  • @habib97se
    @habib97se Год назад

    Hi, and thanks for this amazing video, I wonder if there is any free api for forex market as well?

  • @quimica1786
    @quimica1786 Год назад

    could you make a tutorial on a plotly/matplotlib tool to actually draw shapes on the chart, like in a trading platform?

    • @ChadThackray
      @ChadThackray  Год назад

      I can certainly investigate. Although I doubt it's possible without some serious javascript

  • @thecodingcove
    @thecodingcove Год назад

    Hi Chad, very interesting tutorial. Can you make a video where you streaming a candle footprint?

    • @ChadThackray
      @ChadThackray  Год назад

      Not sure what you mean

    • @thecodingcove
      @thecodingcove Год назад

      @@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

    • @nofeed9124
      @nofeed9124 Год назад

      @@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

  • @jenaman0001
    @jenaman0001 Год назад

    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?

    • @ChadThackray
      @ChadThackray  Год назад +1

      Yep, haven't done it myself but you could try multiple callbacks, or returning a list of figures from our main function

    • @jenaman0001
      @jenaman0001 Год назад

      @@ChadThackray thanks, let me try. If you can get it with the set up please let me know or request to have a video.

  • @6sixty_nine9
    @6sixty_nine9 Год назад

    Hey mate! Where can I download the code?

  • @johnmartin2561
    @johnmartin2561 5 месяцев назад

    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!

    • @ChadThackray
      @ChadThackray  5 месяцев назад

      I'm not going to be able to help you from that error message. Perhaps try stack overflow

  • @Dasha-dg3xf
    @Dasha-dg3xf 4 месяца назад

    how do you avoid plotly to show the gaps between dates?

    • @ChadThackray
      @ChadThackray  4 месяца назад

      There's an option for it when plotting. Have a look in the plotly docs

  • @santievangelio4251
    @santievangelio4251 27 дней назад

    I got this: Input('range-slider','value'),)
    ^
    SyntaxError: incomplete input

  • @supersonic2101
    @supersonic2101 Год назад

    Anyone got github link for this? Seems awesome

  • @AndreaCappelletti
    @AndreaCappelletti Год назад

    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.

    • @ChadThackray
      @ChadThackray  Год назад

      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