Hi Everyone,
I'm relatively new to Quantopian and have spent the last month performing research creating an algorithm that implements close-to-close strategy. My algorithm re-balances 20 minutes before close.
I've got it working pretty well but I'm missing the last important part... I need to get the most recent pricing available for "today" (the day that the my algorithm is being run) for my pipeline. I need this in order to get the best estimate of the close-close return for that day since I won't be able to get the actual close-close return since it'll re-balance before close.
For example: Running my pipeline in the notebook research environment on at 3:40pm on 5/11/2020, is there a way for me to retrieve pricing that same day closest to 3:40pm (whether it's at 12,1,2,3pm).
And if i'm running my algorithm in the backtest environment - collect the pricing at a specific time on the current day the back test is simulating.
Summary of my question: How often is pricing data available from the current date/time? and how to retrieve that data for that specific time closest to 3:40pm?
Can anyone provide suggestions or point me in the right direction?
I apologize if this question is unclear.
Thank you,