1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-03 11:00:57 +08:00
This commit is contained in:
wangwenxi.handsome
2021-08-26 16:26:26 +00:00
committed by you-n-g
parent 25f54ddaeb
commit 7ee4a207bc

View File

@@ -158,6 +158,7 @@ class CN1min_NumpyQuote(BaseQuote):
def get_all_stock(self):
return self.data.keys()
@lru_cache(maxsize=512)
def get_data(self, stock_id, start_time, end_time, fields=None, method=None):
if fields is None and method is not None:
raise ValueError(f"method must be None when fields is None")