fixed breaking tests for liquidation price

This commit is contained in:
Sam Germain
2022-01-13 01:21:36 -06:00
parent 1eee5373b9
commit 2d545a2def
5 changed files with 73 additions and 65 deletions

View File

@@ -43,8 +43,8 @@ class Gateio(Exchange):
def get_maintenance_ratio_and_amt(
self,
pair: Optional[str],
nominal_value: Optional[float]
pair: str,
nominal_value: Optional[float] = 0.0,
):
info = self.markets[pair]['info']
if 'maintenance_rate' in info: