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

@@ -2005,8 +2005,8 @@ class Exchange:
def get_maintenance_ratio_and_amt(
self,
pair: Optional[str],
nominal_value: Optional[float]
pair: str,
nominal_value: Optional[float] = 0.0,
):
'''
:return: The maintenance amount, and maintenance margin rate