mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 16:26:55 +08:00
update dump_bin docs
This commit is contained in:
@@ -59,7 +59,7 @@ Supposed that users prepare their CSV format data in the directory ``~/.qlib/csv
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
python scripts/dump_bin.py dump --csv_path ~/.qlib/csv_data/my_data --qlib_dir ~/.qlib/qlib_data/my_data --include_fields open,close,high,low,volume,factor
|
python scripts/dump_bin.py dump_all --csv_path ~/.qlib/csv_data/my_data --qlib_dir ~/.qlib/qlib_data/my_data --include_fields open,close,high,low,volume,factor
|
||||||
|
|
||||||
After conversion, users can find their Qlib format data in the directory `~/.qlib/qlib_data/my_data`.
|
After conversion, users can find their Qlib format data in the directory `~/.qlib/qlib_data/my_data`.
|
||||||
|
|
||||||
|
|||||||
@@ -242,6 +242,9 @@ class DumpDataBase:
|
|||||||
def dump(self):
|
def dump(self):
|
||||||
raise NotImplementedError("dump not implemented!")
|
raise NotImplementedError("dump not implemented!")
|
||||||
|
|
||||||
|
def __call__(self, *args, **kwargs):
|
||||||
|
self.dump()
|
||||||
|
|
||||||
|
|
||||||
class DumpDataAll(DumpDataBase):
|
class DumpDataAll(DumpDataBase):
|
||||||
def _get_all_date(self):
|
def _get_all_date(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user