Websockets In Plotly Dash in real-time with SQLite3

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 17

  • @beindependent6054
    @beindependent6054 Рік тому

    Nice video sir

  • @grizthegriffdog9939
    @grizthegriffdog9939 2 роки тому +2

    well... it took my too long to realize that dataDOTpy needs to be running for frontendDOTpy to update! haha, but good troubleshooting experience. Just curious, could this method be used to produce a live candlestick chart where you can see the candles updating while one is open oscillating on one single candle for x timeframe and then create new candle once previous is closed to repeat process? thanks again for the videos, these are incredible learning tools. Cheers.

    • @grizthegriffdog9939
      @grizthegriffdog9939 2 роки тому

      aaaand, just seeing you have candlestick chart vids ... maybe I should start there! again, much thanks.

    • @ChadThackray
      @ChadThackray  2 роки тому

      Glad you're enjoying them!

  • @cybergrimreaper6669
    @cybergrimreaper6669 9 місяців тому

    can this be used for realtime xauusd historical data without being too delayed i was thinking of using best realtime data in a intraday trading bot

  • @nicobockko933
    @nicobockko933 Рік тому

    thanks for the best video! is there an way to refresh not to use interval but websocketio or something? i want to make chat server with dash!

    • @ChadThackray
      @ChadThackray  Рік тому +1

      Interesting. Honestly not something I know much about. I'd go with django + channels for that kind of thing

  • @pp_7748
    @pp_7748 11 місяців тому

    Great tutorial! Is it possible to plot multiples y axis in real time?

    • @ChadThackray
      @ChadThackray  11 місяців тому

      I imagine it is, haven't tried it myself though

    • @pp_7748
      @pp_7748 11 місяців тому

      Perfect, I will try to plot two or multiple traces.
      Any thoughts how can I specify which trace I will return an update value? Imagine I create multiple traces in a figure and want to update only one trace

  • @fearvalue1441
    @fearvalue1441 Рік тому

    Great video, was wondering, if you have to pass auth data in json dumps,it returns the connected/auth result and tries to label it as data and save it. Is there a way to not have the json.dumps auth data appear

  • @grizthegriffdog9939
    @grizthegriffdog9939 2 роки тому

    the binance api docs under aggregate trade streams it seems they have removed aggregate trade id from the payload response. Can this project still be done without the aggregate trade ID ??

    • @grizthegriffdog9939
      @grizthegriffdog9939 2 роки тому +1

      never mind .... i think I was looking at streams of futures, not spot. ignore that last comment, but will leave incase anyone else is really really simple like me. :)

  • @PatrickCarlberg
    @PatrickCarlberg Рік тому

    Nice project.
    One question, shouldn't you close the db connection after reading the data in your front end file?

    • @ChadThackray
      @ChadThackray  Рік тому +1

      yeah, closing it is best practice. Doesn't matter too much in this project as we're not leaving the dashboard running for a long period of time