Trade

To trade with a va

Trade with a vault.

post
Authorizations
Body
basestringOptionalExample: WETH
quotestringOptionalExample: USDC
expirationstringOptionalExample: 03NOV23Pattern: ^\d\d\w\w\w\d\d$
strikenumberOptionalExample: 1700
typestring · enumOptionalExample: PPossible values:
sizenumberOptionalExample: 4
directionstringOptionalExample: buy
premiumLimitnumberOptionalExample: 0.23
Responses
200
Successful Operation
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?