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

Method dump

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

Source from the content-addressed store, hash-verified

531 logger.info("end of features dump.\n")
532
533 def dump(self):
534 self.save_calendars(self._new_calendar_list)
535 self._dump_features()
536 df = pd.DataFrame.from_dict(self._update_instruments, orient="index")
537 df.index.names = [self.symbol_field_name]
538 self.save_instruments(df.reset_index())
539
540
541if __name__ == "__main__":

Callers 1

update_data_to_binMethod · 0.95

Calls 3

_dump_featuresMethod · 0.95
save_calendarsMethod · 0.80
save_instrumentsMethod · 0.80

Tested by

no test coverage detected