An illustration of how to restrict code execution based on a list of hard-coded specific historical minutes (in this case, arbitrarily chosen). Ultimately, I'm trying to sort out how to incorporate external data into Quantopian. One way to synch external time series is with the (inefficient) for-loop approach I use. For each minute of the backtest, the code iterates through the list of historical minutes I've provided looking for a match. If a match is found, then a buy/sell order is submitted (as an illustration only).
Eventually, I'd like to provide the backtester with a file of time-series data with UTC minutely time stamps.