switched since = int(since.timestamp()) from %s
This commit is contained in:
parent
8123579442
commit
ac4f5adfe2
@ -1543,7 +1543,7 @@ class Exchange:
|
|||||||
f"fetch_funding_history() has not been implemented on ccxt.{self.name}")
|
f"fetch_funding_history() has not been implemented on ccxt.{self.name}")
|
||||||
|
|
||||||
if type(since) is datetime:
|
if type(since) is datetime:
|
||||||
since = int(since.strftime('%s'))
|
since = int(since.timestamp())
|
||||||
|
|
||||||
try:
|
try:
|
||||||
funding_history = self._api.fetch_funding_history(
|
funding_history = self._api.fetch_funding_history(
|
||||||
|
Loading…
Reference in New Issue
Block a user