Trade
To trade with a va
Authorizations
Body
basestringOptionalExample:
WETH
quotestringOptionalExample:
USDC
expirationstringOptionalExample:
03NOV23
Pattern: ^\d\d\w\w\w\d\d$
strikenumberOptionalExample:
1700
typestring · enumOptionalExample:
P
Possible values: sizenumberOptionalExample:
4
directionstringOptionalExample:
buy
premiumLimitnumberOptionalExample:
0.23
Responses
200
Successful Operation
application/json
400
Invalid parameters supplied
application/json
401
Not authorized
application/json
post
POST /vaults/trade HTTP/1.1
Host:
x-apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"base": "WETH",
"quote": "USDC",
"expiration": "03NOV23",
"strike": 1700,
"type": "P",
"size": 4,
"direction": "buy",
"premiumLimit": 0.23
}
{
"market": {
"vault": "pSV-WETH/USDCe-C",
"strike": 2500,
"expiration": "03NOV23",
"size": 4,
"direction": "buy"
}
}
Last updated
Was this helpful?