The following code is triggering the following warnings / Errors / the concern is that in sometime in September, SPY IEF and other tickers got data gaps. / log is provided as well.
def hist(sec, prc, bars, freq):
sec_ts = data.history(sec, prc, bars, freq)
if np.isnan(np.sum(np.array(sec_ts))):
if is_live_trading(): log_info('ERROR: nan in data history time series!!' + str(sec))
sec_ts = sec_ts.fillna(method='ffill')
return sec_ts
2020-12-21 17:48:53 quantrocket.zipline: INFO [a13v_spyx3] Trading a13v_test3 in account DUXXX
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BBV9N3 [LQD])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BHR296 [IEF])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BBV9N3 [LQD])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BHR296 [IEF])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BDTBL9 [SPY])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000CX0W11 [TMF])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000CX0W11 [TMF])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BBV9N3 [LQD])
2020-12-21 17:48:53 algo_spyx3: INFO ERROR: nan in data history time series!!Equity(FIBBG000BBV9N3 [LQD])