Hi,

I am trying to codw the functionality where the algorithm stops trading 15 min in advance of a news event. I've populated a custom data source with the news event. So in the OnData function how I get the data for a particular source that is forward in time wrt to the current slice being processed, in case that information exists?

Author