timestamp * 1000 in get_funding_fees_from_exchange

This commit is contained in:
Sam Germain 2021-09-29 22:18:15 -06:00
parent c4ac876183
commit 993dc672b4

View File

@ -1609,7 +1609,7 @@ class Exchange:
f"fetch_funding_history() has not been implemented on ccxt.{self.name}")
if type(since) is datetime:
since = int(since.timestamp())
since = int(since.timestamp()) * 1000 # * 1000 for ms
try:
funding_history = self._api.fetch_funding_history(