def has_data_for_dates(series_or_df, first_date, last_date):
    dts = series_or_df.index
    if not isinstance(dts, pd.DatetimeIndex):
        raise TypeError("Expected a DatetimeIndex, but got %s." % type(dts))
    first, last = dts[[0, -1]]
    return (first <= first_date) and (last >= last_date)
Save current database to the specified idb file
dataset/ETHPy150Open quantopian/zipline/zipline/data/loader.py/has_data_for_dates--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SaveBase