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

Method _dump_features

scripts/dump_bin.py:339–347  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

337 logger.info("end of instruments dump.\n")
338
339 def _dump_features(self):
340 logger.info("start dump features......")
341 _dump_func = partial(self._dump_bin, calendar_list=self._calendars_list)
342 with tqdm(total=len(self.df_files)) as p_bar:
343 with ProcessPoolExecutor(max_workers=self.works) as executor:
344 for _ in executor.map(_dump_func, self.df_files):
345 p_bar.update()
346
347 logger.info("end of features dump.\n")
348
349 def dump(self):
350 self._get_all_date()

Callers 2

dumpMethod · 0.95
dumpMethod · 0.45

Calls 2

infoMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected