Messages
{
"message": "emitOptionsSettlements",
"content": {
"clientRequestId": "5aa61e15-9e0f-4d59-975b-58f622362763",
"market": "BTC-3JUL26-55000-C",
"limit": 100
}
}{
"resultType": "optionsSettlements",
"market": "BTC-3JUL26-55000-C",
"data": {
"settlements": [
{
"market": "BTC-3JUL26-55000-C",
"side": "long",
"optionType": "C",
"qty": "1",
"value": "6602.92",
"entryPrice": "6602.92",
"markPrice": "6761.0002820975",
"underlyingPrice": "61761.0002820975",
"breakEvenPrice": "61609.52292",
"settlementPrice": "61761.0002820975",
"payoff": "6761.0002820975",
"deliveryFee": "9.26415",
"realizedPnl": "158.080282",
"settledAt": 1783065647000
}
],
"statusCode": 200,
"clientRequestId": "5aa61e15-9e0f-4d59-975b-58f622362763"
}
}WS Reference
Settlements Stream
Settlement results at expiry.
WSS
?product=options&market=
{market}
&expiration=
{expiration}
&strike=
{strike}
&type=
{type}
&subscriptions=optionsSettlements
This stream is available on the
optionsSettlements subscription. It provides settlement results for your positions at expiry. See Settlement & Expiry for how settlement works.
Snapshot Request
TheemitOptionsSettlements request returns a snapshot of your settlement history via optionsSettlements.Messages
{
"message": "emitOptionsSettlements",
"content": {
"clientRequestId": "5aa61e15-9e0f-4d59-975b-58f622362763",
"market": "BTC-3JUL26-55000-C",
"limit": 100
}
}{
"resultType": "optionsSettlements",
"market": "BTC-3JUL26-55000-C",
"data": {
"settlements": [
{
"market": "BTC-3JUL26-55000-C",
"side": "long",
"optionType": "C",
"qty": "1",
"value": "6602.92",
"entryPrice": "6602.92",
"markPrice": "6761.0002820975",
"underlyingPrice": "61761.0002820975",
"breakEvenPrice": "61609.52292",
"settlementPrice": "61761.0002820975",
"payoff": "6761.0002820975",
"deliveryFee": "9.26415",
"realizedPnl": "158.080282",
"settledAt": 1783065647000
}
],
"statusCode": 200,
"clientRequestId": "5aa61e15-9e0f-4d59-975b-58f622362763"
}
}market
type:string
required
A specific market (e.g. BTC-USDT) or ALL.
expiration
type:string
required
Contract expiration, e.g. 24JUN26. Requires market; omit to match every expiration.
strike
type:string
required
Strike price, e.g. 62000. Requires expiration; omit to match every strike.
type
type:string
required
C (call) or P (put). Requires strike; omit to match both.
Sec-WebSocket-Protocol
type:httpApiKey
Supply as authorization#<JWT> during the WebSocket handshake.
Emit Options Settlements
type:object
Settlements Snapshot
type:object
Response to emitOptionsSettlements.
⌘I