1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-16 17:12:20 +08:00
This commit is contained in:
Jactus
2020-11-25 20:40:45 +08:00
parent 510be10a87
commit 7201334733
2 changed files with 8 additions and 10 deletions

View File

@@ -21,18 +21,16 @@ class DataLoader(abc.ABC):
@abc.abstractmethod @abc.abstractmethod
def load(self, instruments, start_time=None, end_time=None) -> pd.DataFrame: def load(self, instruments, start_time=None, end_time=None) -> pd.DataFrame:
""" """
load the data as pd.DataFrame load the data as pd.DataFrame.
Parameters Parameters
---------- ----------
self : [TODO:type] instruments : str or dict
[TODO:description] it can either be the market name or the config file of instruments generated by InstrumentProvider.
instruments : [TODO:type] start_time : str
[TODO:description] start of the time range.
start_time : [TODO:type] end_time : str
[TODO:description] end of the time range.
end_time : [TODO:type]
[TODO:description]
Returns Returns
------- -------