Return a copy from current_whitelist
this avoids manipulating of the pair whitelist from within a strategy
This commit is contained in:
parent
4b902d6eb8
commit
9b23be4021
@ -170,6 +170,6 @@ class DataProvider:
|
||||
"""
|
||||
|
||||
if self._pairlists:
|
||||
return self._pairlists.whitelist
|
||||
return self._pairlists.whitelist.copy()
|
||||
else:
|
||||
raise OperationalException("Dataprovider was not initialized with a pairlist provider.")
|
||||
|
Loading…
Reference in New Issue
Block a user