mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Further bandid noqa's
This commit is contained in:
parent
50e4d273f4
commit
2f83ff73e2
|
@ -13,7 +13,7 @@ def get_strategy_run_id(strategy) -> str:
|
|||
:param strategy: strategy object.
|
||||
:return: hex string id.
|
||||
"""
|
||||
digest = hashlib.sha1()
|
||||
digest = hashlib.sha1() # noqa: S324
|
||||
config = deepcopy(strategy.config)
|
||||
|
||||
# Options that have no impact on results of individual backtest.
|
||||
|
|
|
@ -39,7 +39,7 @@ class ShuffleFilter(IPairList):
|
|||
self._seed = pairlistconfig.get("seed")
|
||||
logger.info(f"Backtesting mode detected, applying seed value: {self._seed}")
|
||||
|
||||
self._random = random.Random(self._seed)
|
||||
self._random = random.Random(self._seed) # noqa: S311
|
||||
self._shuffle_freq: ShuffleValues = pairlistconfig.get("shuffle_frequency", "candle")
|
||||
self.__pairlist_cache = PeriodicCache(
|
||||
maxsize=1000, ttl=timeframe_to_seconds(self._config["timeframe"])
|
||||
|
|
Loading…
Reference in New Issue
Block a user