Use list ticker history for backtesting
This commit is contained in:
@@ -159,7 +159,7 @@ class Exchange(object):
|
||||
|
||||
def klines(self, pair: str) -> DataFrame:
|
||||
if pair in self._klines:
|
||||
return self._klines.get(pair).copy()
|
||||
return self._klines[pair].copy()
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user