Ok, I'll try differently: I want the backtest to be 5 years long but the asset list includes assets that haven't existed 5 years ago because they're new companies, so the historical data for those doesn't go back 5 years. I need to find out at each bar if an asset already has valid price data at this current bar or not.