parent
3d31eca365
commit
cf70deaf8d
@ -2785,7 +2785,7 @@ class Exchange:
|
|||||||
if is_short else
|
if is_short else
|
||||||
isolated_liq + buffer_amount
|
isolated_liq + buffer_amount
|
||||||
)
|
)
|
||||||
return isolated_liq
|
return max(isolated_liq, 0.0)
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user