added pair to fetch_funding_rate

This commit is contained in:
Sam Germain 2021-09-08 13:43:28 -06:00
parent baaf516aa6
commit af4a6effb7

View File

@ -1518,7 +1518,7 @@ class Exchange:
until=until, from_id=from_id)) until=until, from_id=from_id))
# https://www.binance.com/en/support/faq/360033525031 # https://www.binance.com/en/support/faq/360033525031
def fetch_funding_rate(self): def fetch_funding_rate(self, pair):
if not self.exchange_has("fetchFundingHistory"): if not self.exchange_has("fetchFundingHistory"):
raise OperationalException( raise OperationalException(
f"fetch_funding_history() has not been implemented on ccxt.{self.name}") f"fetch_funding_history() has not been implemented on ccxt.{self.name}")