From 54344c44268e79490f89f2ef82f67937d59a6d9e Mon Sep 17 00:00:00 2001 From: you-n-g Date: Wed, 19 Jan 2022 19:51:36 +0800 Subject: [PATCH] Update config.py (#871) --- qlib/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qlib/config.py b/qlib/config.py index 91c24ca22..fa2e539dc 100644 --- a/qlib/config.py +++ b/qlib/config.py @@ -216,8 +216,9 @@ MODE_CONF = { "provider_uri": "~/.qlib/qlib_data/cn_data", # cache # Using parameter 'remote' to announce the client is using server_cache, and the writing access will be disabled. - "expression_cache": DISK_EXPRESSION_CACHE, - "dataset_cache": DISK_DATASET_CACHE, + # Disable cache by default. Avoid introduce advanced features for beginners + "expression_cache": None, + "dataset_cache": None, # SimpleDatasetCache directory "local_cache_path": Path("~/.cache/qlib_simple_cache").expanduser().resolve(), "calendar_cache": None,