1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-07 13:00:58 +08:00

Add future calendar collector (#795)

* fix Windows mount

* add future_calendar_collector

* update docs

Co-authored-by: Young <afe.young@gmail.com>
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com>
This commit is contained in:
Pengrong Zhu
2022-01-16 10:14:27 +08:00
committed by GitHub
parent a62e2ec4de
commit 2aee9e0145
4 changed files with 147 additions and 12 deletions

View File

@@ -34,7 +34,11 @@ class FileStorageMixin:
@property
def dpm(self):
return C.dpm if getattr(self, "_provider_uri", None) is None else C.DataPathManager(self._provider_uri, None)
return (
C.dpm
if getattr(self, "_provider_uri", None) is None
else C.DataPathManager(self._provider_uri, C.mount_path)
)
@property
def support_freq(self) -> List[str]: