A) I am trying to run a simulation of a program that needs to run every day 2.5H before closing.
To test, I need access to the following data:
Current price today (at 2.5H before closing).
I am trying this syntax for the current price and I get NaN instead of the correct price at that time.
current_price = data.current(security, "last") <<<<<<<<<<<<<<<<<< Nan
Can you suggest how to paper trade this?
Thanks
Alon
Thanks
Alon