Skip to content

Update trade

PUT
/v2/options

Allows user to update settlement parameter in running option trade

Request Body

Body

object
id
required
string format: uuid
settlement
required
string
Allowed values: physical cash
{
"id": "49d4f418-5190-40b9-9c32-856381dc8aa2",
"settlement": "cash"
}

Responses

200

200

object
id
required
string
uid
required
string
forward
required
number
forward_point
required
number
domestic
required
string
settlement
required
string
Allowed values: physical cash
fixing_price
number
creation_ts
required
number
expiry_ts
required
number
closed_ts
physical_delivery_id
leg_id
required
string
side
required
string
Allowed values: b s
type
required
string
Allowed values: c p
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
{
"id": "49d4f418-5190-40b9-9c32-856381dc8aa2",
"uid": "c6c1a624-f2b4-48c9-b07a-7fd037770bd2",
"forward": 10000,
"forward_point": 0,
"domestic": "BTC",
"settlement": "physical",
"creation_ts": 1689695082638,
"expiry_ts": 1689753600000,
"leg_id": "fee73168-9be7-40ff-8e26-707053c0178b",
"side": "b",
"type": "c",
"quantity": 100,
"strike": 10000,
"volatility": 0.88,
"margin": 1337,
"pl": 0,
"maintenance_margin": 101,
"opening_fee": 101,
"closing_fee": 0,
"running": true,
"closed": false,
"expired": true,
"exercised": false
}

400

400