Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Timing of Order Placement and Data Handling
API

I'm looking to use Quantopian to help backtest daytrading strategies, but wasn't sure how quickly the data would be returned from an API call. If I make an API call at 9:41:00 to get the closing prices of the 9:40:00 1-minute candle, will I be able to process the data immediately at 9:41:00? And if I decide to place an order at 9:41:00 based on the data, would the order be filled immediately or at the next minute?