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

Method instruments

qlib/data/data.py:1151–1157  ·  view source on GitHub ↗
(self, market="all", filter_pipe=None, start_time=None, end_time=None)

Source from the content-addressed store, hash-verified

1149 return Cal.calendar(start_time, end_time, freq, future=future)
1150
1151 def instruments(self, market="all", filter_pipe=None, start_time=None, end_time=None):
1152 if start_time is not None or end_time is not None:
1153 get_module_logger("Provider").warning(
1154 "The instruments corresponds to a stock pool. "
1155 "Parameters `start_time` and `end_time` does not take effect now."
1156 )
1157 return InstrumentProvider.instruments(market, filter_pipe)
1158
1159 def list_instruments(self, instruments, start_time=None, end_time=None, freq="day", as_list=False):
1160 return Inst.list_instruments(instruments, start_time, end_time, freq, as_list)

Callers 15

load_qlib_dataMethod · 0.45
fill_1min_using_1dFunction · 0.45
_get_old_dataMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
test_0_qlib_dataMethod · 0.45
test_CSZFillnaMethod · 0.45
test_CSZScoreNormMethod · 0.45
test_handler_storageMethod · 0.45
testCSI300Method · 0.45
testCloseMethod · 0.45

Calls

no outgoing calls

Tested by 8

test_0_qlib_dataMethod · 0.36
test_CSZFillnaMethod · 0.36
test_CSZScoreNormMethod · 0.36
test_handler_storageMethod · 0.36
testCSI300Method · 0.36
testCloseMethod · 0.36
get_featuresFunction · 0.36