MCPcopy
hub / github.com/microsoft/qlib / _uri

Method _uri

qlib/data/cache.py:655–656  ·  view source on GitHub ↗
(instruments, fields, start_time, end_time, freq, disk_cache=1, inst_processors=[], **kwargs)

Source from the content-addressed store, hash-verified

653
654 @staticmethod
655 def _uri(instruments, fields, start_time, end_time, freq, disk_cache=1, inst_processors=[], **kwargs):
656 return hash_args(*DatasetCache.normalize_uri_args(instruments, fields, freq), disk_cache, inst_processors)
657
658 def get_cache_dir(self, freq: str = None) -> Path:
659 return super(DiskDatasetCache, self).get_cache_dir(C.dataset_cache_dir_name, freq)

Callers 2

_datasetMethod · 0.95
_dataset_uriMethod · 0.95

Calls 2

hash_argsFunction · 0.85
normalize_uri_argsMethod · 0.80

Tested by

no test coverage detected