[Mod]change load history data cache size
This commit is contained in:
parent
1017420b7a
commit
102707cf30
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user