Exercise
Last updated
Was this helpful?
Last updated
Was this helpful?
WETH
USDC
03NOV23
Pattern: ^\d\d\w\w\w\d\d$
1700
C
Pattern: ^C$|^P$
POST /pool/exercise HTTP/1.1
Host:
x-apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"base": "WETH",
"quote": "USDC",
"expiration": "03NOV23",
"strike": 1700,
"type": "C"
}
{
"success": [
{
"base": "WETH",
"quote": "USDC",
"expiration": "03NOV23",
"strike": 1700,
"type": "P"
}
],
"failed": [
{
"failedOption": {
"base": "WETH",
"quote": "USDC",
"expiration": "03NOV23",
"strike": 1700,
"type": "P"
},
"reason": "text"
}
]
}