What's the easiest method to retrieve the current return on day?
To provide additional clarity on what I am looking for; let's say:
Current_Price = Closing Price of Most Recent Minute
Open_Price = Today's Open Price (closing price of first minute of the day is less preferred, but also acceptable)
Current_Return_On_Day = (Current_Price - Open_Price) / Open_Price
Current_Return_On_Day calculated every minute is what I want.
Thank you for taking the time to look this over! I apologize if this is a dumb question (I'm an amateur). Any assistance in the matter would be greatly appreciated!