Withdrawal

Once the funds are credited, the user can withdraw all the funds, including collateral, CUSD, and $FX (if any)

function withdrawOrder(
    bytes32 strategyName,
    uint8 strategyId
    uint256 orderId
)
 strategyName The name of the trading pair
 strategyId  Trading strategy Id (1,2,3,4)
 orderId    Order id

Last updated