do not copy DF if copy is false
This commit is contained in:
@@ -160,7 +160,7 @@ class Exchange(object):
|
||||
|
||||
def klines(self, pair: str, copy=True) -> DataFrame:
|
||||
if pair in self._klines:
|
||||
return self._klines[pair].copy()
|
||||
return self._klines[pair].copy() if copy else self._klines[pair]
|
||||
else:
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user