I'm looking for a way to get the current net % change of an instrument using Ninjascript. Similar to how you would see it in the Market Analyzer window, see attached pic.
I suppose I can get the previous days close, then get the current price, then do the calculation. But is there a quicker way to do this?
Thanks!

Comment