Hello Dan and all,
I'm still kinda confused how your backtester works when there is no trade/price data for a given minute. For example, in
def handle_data(data, context):
what if I have two algorithms, one for security #1 and the other for security #2. For a given minute, suppose there are no trade/price data for #1, but trade/price data are available for #2. What happens? Does handle_data still get processed for the minute to execute the algorithm for security #2?
Also, what happens if I make a calculation based on data from security #1 and security #2 (e.g. volume, price, etc.). If no data exists for #1, but I have it for #2, how does the backtester handle it?