Update decorator locations

This commit is contained in:
Matthias
2022-02-15 07:04:50 +01:00
parent 324fdcedb1
commit 1bae18c60a
6 changed files with 9 additions and 6 deletions

View File

@@ -1858,6 +1858,7 @@ class Exchange:
except ccxt.BaseError as e:
raise OperationalException(e) from e
@retrier
def load_leverage_tiers(self) -> Dict[str, List[Dict]]:
if self.trading_mode == TradingMode.FUTURES and self.exchange_has('fetchLeverageTiers'):
try:
@@ -1874,7 +1875,6 @@ class Exchange:
else:
return {}
@retrier
def fill_leverage_tiers(self) -> None:
"""
Assigns property _leverage_tiers to a dictionary of information about the leverage