Close Positions

Every cases are similar to the open positions, but you need to convert the -o flag from -c to close the position. In close script, The value of amount(-a) flag is the amount of contract. The decimal of the amount is same as underlying asset's decimal.

Once more, it doesn't need to be given payment(-p) flag when closing position.

Example

Last updated