exchange._get_maintenance_ratio_and_amount
This commit is contained in:
@@ -2012,8 +2012,7 @@ class Exchange:
|
|||||||
"""
|
"""
|
||||||
:return: The maintenance margin ratio and maintenance amount
|
:return: The maintenance margin ratio and maintenance amount
|
||||||
"""
|
"""
|
||||||
# TODO-lev: return the real amounts
|
raise OperationalException(self.name + ' does not support leverage futures trading')
|
||||||
return (0, 0.4)
|
|
||||||
|
|
||||||
def liquidation_price(
|
def liquidation_price(
|
||||||
self,
|
self,
|
||||||
|
Reference in New Issue
Block a user