switched since = int(since.timestamp()) from %s

This commit is contained in:
Sam Germain 2021-09-19 01:16:22 -06:00
parent 8123579442
commit ac4f5adfe2

View File

@ -1543,7 +1543,7 @@ class Exchange:
f"fetch_funding_history() has not been implemented on ccxt.{self.name}")
if type(since) is datetime:
since = int(since.strftime('%s'))
since = int(since.timestamp())
try:
funding_history = self._api.fetch_funding_history(