Merge branch 'feat/short' into isolated-liq

This commit is contained in:
Sam Germain
2022-01-31 14:15:34 -06:00
4 changed files with 63 additions and 44 deletions

View File

@@ -1806,7 +1806,7 @@ class Exchange:
"""
return
def get_max_leverage(self, pair: str, nominal_value: float) -> float:
def get_max_leverage(self, pair: str, stake_amount: Optional[float]) -> float:
"""
Returns the maximum leverage that a pair can be traded at
:param pair: The base/quote currency pair being traded