feram18 / led-stock-ticker

A display for real-time prices of stocks, cryptocurrencies, and forex rates on a Raspberry Pi-driven RGB LED matrix board. 📈
GNU General Public License v3.0
68 stars 11 forks source link

This is just amazing #10

Closed renjithstalin closed 1 year ago

renjithstalin commented 1 year ago

This is pretty amazing, I have tried various tickers using max7219/epaper etc, and this is by far the best. Thank You so very much. setup was a breeze and it works perfectly. Hope I'm not asking too much here, but is it possible to add another panel, with a scrolling effect just like the ones in stock exchanges?

Few observations (maybe something I have to configure, didn't dig into the settings too much) -P10 panel displays only a portion of the data -ticker name scrolling is a bit jerky

Thanks again.

feram18 commented 1 year ago

Thank you for trying out this project!

is it possible to add another panel, with a scrolling effect just like the ones in stock exchanges?

I'm not sure what you mean. Do you mean like a screen to scroll through some custom text? Or like scrolling through all the tickers together?

P10 panel displays only a portion of the data

Are you able to attach a picture of this issue? It would help to get a better idea if it's an issue that should be addressed in the code, or if could be fixed on your end through some configuration.

ticker name scrolling is a bit jerky

I've noticed some issues with scrolling myself, I am working on a fix for the next release.

renjithstalin commented 1 year ago

Thanks for the response, P10 panels displays like this
image image image

P5 panels works perfectly. image

I'm not sure what you mean. Do you mean like a screen to scroll through some custom text? Or like scrolling through all the tickers together? I was wondering if multiple panels can be daisy-chained, to create a long one (at least with 2) to make a scrolling display, something like this : image

Thanks again.

feram18 commented 1 year ago

In regards to the panels: It looks like your P10 is a different size (pixel-wise) from the P5.

P10 appears to be 32x16, and the P5 at least 64x32 (width x height). Currently, I only have support for the 64x32 size. Different sizes need to be treated differently as some would not have enough space to display the same data. For example the 32x16 would not have enough space to display the history chart or logos, so it would be more a 'lite' version with only the symbol, price and percentage change.

Panel size is specified using the flags on your execution command (see the flags section on the README). By default the program will assume you're working with a 64x32, but if your panel is of a different size you'll need to specify that. I'm working to support other sizes, including 32x16, in the next release.

feram18 commented 1 year ago

Scrolling display:

I considered taking this approach previously. It's definitely doable, but I didn't want to completely scratch off the current display mode. I'm now considering making it an option to choose between displaying the tickers in the current way and this scrolling method. It'll take a bit of effort to work it out, so I'll keep it in mind for a future release, thanks for the suggestion!

feram18 commented 1 year ago

Added 32x16 layout support in v0.3.1.