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
If you want to close the position of BTC-3JUL24-61250-P
, buy put option with 0.01 contracts:
If you want to close all position of corresponding instrument, you can use all
option to -a
at following command:
Last updated