[Mod]change load history data cache size

This commit is contained in:
vn.py 2019-06-20 15:46:49 +08:00
parent 1017420b7a
commit 102707cf30

View File

@ -1189,7 +1189,7 @@ def ga_optimize(parameter_values: list):
return _ga_optimize(tuple(parameter_values))
@lru_cache(maxsize=10)
@lru_cache(maxsize=999)
def load_bar_data(
symbol: str,
exchange: Exchange,
@ -1203,7 +1203,7 @@ def load_bar_data(
)
@lru_cache(maxsize=10)
@lru_cache(maxsize=999)
def load_tick_data(
symbol: str,
exchange: Exchange,