MCPcopy Index your code
hub / github.com/microsoft/qlib / _uri

Method _uri

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

Source from the content-addressed store, hash-verified

1076 )
1077
1078 def _uri(self, instruments, fields, start_time, end_time, freq, disk_cache=1, inst_processors=[], **kwargs):
1079 instruments, fields, freq = self.normalize_uri_args(instruments, fields, freq)
1080 return hash_args(
1081 instruments, fields, start_time, end_time, freq, disk_cache, str(self.local_cache_path), inst_processors
1082 )
1083
1084 def _dataset(
1085 self, instruments, fields, start_time=None, end_time=None, freq="day", disk_cache=1, inst_processors=[]

Callers 1

_datasetMethod · 0.95

Calls 2

hash_argsFunction · 0.85
normalize_uri_argsMethod · 0.80

Tested by

no test coverage detected