Option Balances

Checks the balance of all option positions for the given account (if specified), otherwise the address in the .env is used.

GET/account/option_balances
Authorization
Query parameters
Response

Success

Body
expiredarray of object
openarray of object
Request
const response = await fetch('/account/option_balances', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "expired": [
    {
      "amount": 2.46,
      "name": "WETH-USDC-03NOV2023-1800-P",
      "token_address": "0x...4cFF2",
      "exposure": "SHORT"
    }
  ],
  "open": [
    {
      "amount": 2.46,
      "name": "WETH-USDC-03NOV2023-1800-P",
      "token_address": "0x...4cFF2",
      "exposure": "SHORT"
    }
  ]
}

Last updated

Terms and Disclaimers

Privacy Policy