diff --git a/vnpy/app/cta_strategy/backtesting.py b/vnpy/app/cta_strategy/backtesting.py index 45a1c48e..fa7a725e 100644 --- a/vnpy/app/cta_strategy/backtesting.py +++ b/vnpy/app/cta_strategy/backtesting.py @@ -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,