Close all trades
DELETE
/v2/options/all/close
Close all of the user option trades, the PL will be calculated against the current last price depending on the type of the options
Responses
200
200
object
trades
required
Array
One of:
object
id
required
string
uid
required
string
forward
required
number
forward_point
required
number
domestic
required
string
settlement
required
string
fixing_price
required
number
creation_ts
required
number
expiry_ts
required
number
closed_ts
required
number
physical_delivery_id
leg_id
required
string
side
required
string
type
required
string
quantity
required
number
strike
required
number
volatility
required
number
margin
required
number
pl
required
number
maintenance_margin
required
number
opening_fee
required
number
closing_fee
required
number
running
required
boolean
closed
required
boolean
expired
required
boolean
exercised
required
boolean
object
id
required
string
uid
required
string
forward
required
number
forward_point
required
number
domestic
required
string
settlement
required
string
fixing_price
required
number
creation_ts
required
number
expiry_ts
required
number
closed_ts
required
number
physical_delivery_id
required
string
leg_id
required
string
side
required
string
type
required
string
quantity
required
number
strike
required
number
volatility
required
number
margin
required
number
pl
required
number
maintenance_margin
required
number
opening_fee
required
number
closing_fee
required
number
running
required
boolean
closed
required
boolean
expired
required
boolean
exercised
required
boolean
400
400