Hello, I am a newb to this platform, and am working on building my first algorithm. How can I find the difference between the current value of the stock and the value thirty seconds before?

Thanks,
Will S.

Author