tubededentifrice / streamdeck-crypto

StreamDeck plugin for cryptocurrencies
MIT License
36 stars 1 forks source link

Candlestick charts don't update #18

Open rinogo opened 1 year ago

rinogo commented 1 year ago

This plugin is incredibly useful for me - I even made my own fork for a customized view:

image

Unfortunately, the candlestick charts never update. They always show what you can see in the image above. The "default" view (first column) does update.

If I recall correctly, I can force an update by removing the plugin entirely and adding it back again, but that's not a great solution.

I'm a developer, so I'm happy to help fix this if it takes a bit of work - any thoughts on what the problem might be? It has been a while since I looked into this, but as I recall, I was under the impression that the plugin itself is generally working correctly but the candlestick data from https://tproxy.opendle.com isn't being updated. I'm not sure if the problem is that the service itself is "frozen" or if the client is simply not successfully requesting updated data. (likely the latter since I can get it to update by deleting the plugin entirely).

Can you point me in the right direction?

tubededentifrice commented 1 year ago

Hey Rich, I'm a bit surprised, they seem to work just fine for me. Can you check in debug mode if you see anything in the console log? See https://developer.elgato.com/documentation/stream-deck/sdk/create-your-own-plugin/ ("Debugging") for how to enable it.

You are right that requests are proxied through tproxy.opendle.com as I needed a way to do currency conversion that requires an API key / it's easier to update, but I now think that quering the exchanges directly from the plugin would be better if done properly.