Conky code to display stocks

I am presently googling to find some easy way to use CONKY code to display stocks

Anyone here has done it already ?

JF

1 Like

what you mean by stocks ?

I suggest you "man conky" :slight_smile: no joke, this manpage shows all the options and features that you can add on your conkyrc file

LOL
image

hum, i found funny that you wanted to use conky for that :slight_smile: , im sure it can be possible but im not sure about how much "accurate" can be, i mean, you can produce a graph, maybe writing a script that will be render in conky or something similar but again could be not very accurate

now there's a paradoxical problem:

  • an easy solution will be a browser
  • a browser is the worse solution

:rofl2:

so ok, try this:

~ ❯❯❯ chromium --app="https://s.tradingview.com/widgetembed/?frameElementId=tradingview_04652&symbol=OANDA%3ANAS100USD&interval=1&hidesidetoolbar=0&saveimage=0&toolbarbg=f1f3f6&studies=%5B%5D&hideideas=1&theme=White&style=1&timezone=Etc%2FUTC&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&locale=en&utm_source=www.livecharts.co.uk&utm_medium=widget&utm_campaign=chart&utm_term=OANDA%3ANAS100USD"

copy-paste in your terminal, resize the window, and have fun :partying_face:

OOPs I wanted to tell what stock is LOL
I only need the number.... No graph

Your link is cool though

well, the first that you need is to create a script / tool that generates this number, then you can simply reproduce it anywhere, a terminal, or easily in conky I assume :slight_smile: , I never tried to generate a data in conky but for sure will be easy, so it has already data fetch from specific commands, for example the battery percentage is simply fetch from the "acpi" command

I think we cak that a stock ticker or something like that
I simply want the value (worth ) of one stock to show in conky...

But I will google

tks

yeah not bad, press "ctrl + s" and you have now a gadget on your desktop :happy:

more tips for a gadget: right click on the window and:

  • set stacking -> below
  • set border style -> borderless (make sure you know the elive hotkeys, you have the pdf in your dock)
  • set opacity 60%
  • misc: toggle skip window list

:rainbowyay: :rainbowyay: :rainbowyay: :rainbowyay: :rainbowyay:

1 Like