Trader won't be able to close his position and later withdraw the collateral, because of this check. This check is present both in OrderBranch and SettlementBranch.
Such situation might happen in two scenarios:
scenario 1:
Trader opens position with double the size of minTradeSizeX18
Trader closes 75% of the position
Trader tries to close the remaining but he's unable, since his position is only 50% of minTradeSizeX18
scenario 2:
Trader opens position with double the size of minTradeSizeX18
System administrator makes minTradeSizeX18 three times bigger
Trader is unable to close the position
Some of the trader founds might be locked.
Manual Review
Do not enforce this limit when the trader is trying to exit the position
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.