def features(self, instruments, fields, start_time=None, end_time=None, freq='day', disk_cache=None):
    '\n        disk_cache : int\n            whether to skip(0)/use(1)/replace(2) disk_cache\n\n        This function will try to use cache method which has a keyword `disk_cache`,\n        and will use provider method if a type error is raised because the DatasetD instance\n        is a provider class.\n        '
    disk_cache = (C.default_disk_cache if (disk_cache is None) else disk_cache)
    if C.disable_disk_cache:
        disk_cache = False
    try:
        return DatasetD.dataset(instruments, fields, start_time, end_time, freq, disk_cache)
    except TypeError:
        return DatasetD.dataset(instruments, fields, start_time, end_time, freq)
disk_cache : int
    whether to skip(0)/use(1)/replace(2) disk_cache

This function will try to use cache method which has a keyword `disk_cache`,
and will use provider method if a type error is raised because the DatasetD instance
is a provider class.
def features(self, instruments, fields, start_time=None, end_time=None, freq='day', disk_cache=None):
    '\n        disk_cache : int\n            whether to skip(0)/use(1)/replace(2) disk_cache\n\n        This function will try to use cache method which has a keyword `disk_cache`,\n        and will use provider method if a type error is raised because the DatasetD instance\n        is a provider class.\n        '
    disk_cache = (C.default_disk_cache if (disk_cache is None) else disk_cache)
    if C.disable_disk_cache:
        disk_cache = False
    try:
        return DatasetD.dataset(instruments, fields, start_time, end_time, freq, disk_cache)
    except TypeError:
        return DatasetD.dataset(instruments, fields, start_time, end_time, freq)