Closed appatalks closed 8 months ago
Oh I should note, I didn't test during market hours yet. Not certain if I have the right field for the change of price and %. *Edit - Looking to be working during market hours :D
*Edit - I wanted to also note, this version maybe way slower than the original code.
I found when I call the chart
endpoint, it appears to be also pulling historical metrics? But I am only grabbing regularMarketPrice
& chartPreviousClose
which may not be exactly what we want. (My coding abilities are just hobbyist level 🐧)
can you add support for NOCOLOR
@appatalks can you add some detection for python vs python3? I tried running this on MacOS and I had to change lines 57 and 58 to "python3". Alternatively, use just bash Printf for the formatting?
@TimoFrancke-cnic I'll see what I can do, please allow me a few days to play with it :)
hello is it possible to make it work back? :)
https://query1.finance.yahoo.com/v8/finance/chart
I had changed quite a bit during a :cloud_with_lightning_and_rain: night. Very :sleepy: but wanted to get something out working just for fun :penguin:
I really love the original code so I tried to get it to match as best as I can in terms of feel. Likely :bug: :cricket: :fly: here and there, and better ways to do this :sweat_smile: