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

Method feature

qlib/data/data.py:737–741  ·  view source on GitHub ↗
(self, instrument, field, start_index, end_index, freq)

Source from the content-addressed store, hash-verified

735 self.backend = backend
736
737 def feature(self, instrument, field, start_index, end_index, freq):
738 # validate
739 field = str(field)[1:]
740 instrument = code_to_fname(instrument)
741 return self.backend_obj(instrument=instrument, field=field, freq=freq)[start_index : end_index + 1]
742
743
744class LocalPITProvider(PITProvider):

Callers

nothing calls this directly

Calls 2

code_to_fnameFunction · 0.85
backend_objMethod · 0.80

Tested by

no test coverage detected