Skip to content

Trades

GET
/v2/options

Get user’s vanilla options trades

Responses

200

200

Array
One of:
object
id
required
string format: uuid
uid
required
string format: uuid
forward
nullable
forward_point
required
integer
>= -9007199254740991 <= 9007199254740991
domestic
required
string
<= 8 characters
settlement
required
string
Allowed values: physical cash
fixing_price
nullable
creation_ts
nullable
expiry_ts
nullable
closed_ts
required
string format: null
nullable
physical_delivery_id
required
string format: null
nullable
leg_id
required
string format: uuid
side
required
string
Allowed values: b s
type
required
string
Allowed values: c p
quantity
required
integer
>= -9007199254740991 <= 9007199254740991
strike
required
integer
>= -9007199254740991 <= 9007199254740991
volatility
nullable
margin
required
integer
>= -9007199254740991 <= 9007199254740991
pl
required
integer
>= -9007199254740991 <= 9007199254740991
maintenance_margin
required
integer
>= -9007199254740991 <= 9007199254740991
opening_fee
required
integer
>= -9007199254740991 <= 9007199254740991
closing_fee
required
integer
>= -9007199254740991 <= 9007199254740991
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": 29840,
"forward_point": 0,
"domestic": "BTC",
"settlement": "cash",
"fixing_price": 29840,
"creation_ts": 1689695082638,
"expiry_ts": 1689753600000,
"closed_ts": 1689695087302,
"leg_id": "a6a05452-d445-4d08-a39a-c73126faa098",
"side": "b",
"type": "c",
"quantity": 100,
"strike": 29000,
"volatility": 1.1670000553131104,
"margin": 12744,
"pl": -2,
"maintenance_margin": 0,
"opening_fee": 172,
"closing_fee": 172,
"running": false,
"closed": true,
"expired": false,
"exercised": false
}
]

400

400