I am presently googling to find some easy way to use CONKY code to display stocks
Anyone here has done it already ?
JF
I am presently googling to find some easy way to use CONKY code to display stocks
Anyone here has done it already ?
JF
what you mean by stocks ?
I suggest you "man conky" no joke, this manpage shows all the options and features that you can add on your conkyrc file
LOL
hum, i found funny that you wanted to use conky for that , 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:
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
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 , 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
more tips for a gadget: right click on the window and:
This one is also very nice:
${font sans-serif:bold:size=8}OTHER ${hr 2}
## check bitcoin price every 15 minutes:
BTC ~ ${execi 900 curl -s http://api.coindesk.com/v1/bpi/currentprice.json | python -c "import json, sys; print(json.load(sys.stdin)['bpi']['USD']['rate'])" | sed -e 's|\..*$||g' }
Checks for bitcoin price every 15 minutes