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

Method get_symbol_from_file

scripts/dump_bin.py:176–177  ·  view source on GitHub ↗
(self, file_path: Path)

Source from the content-addressed store, hash-verified

174 return df
175
176 def get_symbol_from_file(self, file_path: Path) -> str:
177 return fname_to_code(file_path.stem.strip().lower())
178
179 def get_dump_fields(self, df_columns: Iterable[str]) -> Iterable[str]:
180 return (

Callers 4

_dump_binMethod · 0.95
_get_all_dateMethod · 0.45
_dump_instrumentsMethod · 0.45
_read_dfMethod · 0.45

Calls 1

fname_to_codeFunction · 0.90

Tested by

no test coverage detected