Product Types Reference

This document provides a comprehensive reference for all option product types supported by the Thetanuts SDK.

Table of Contents

Overview

The SDK supports 12 product types, each with specific collateral requirements, strike configurations, and max loss formulas. Understanding these is essential for correctly sizing positions and calculating collateral.

Collateral Types

  • Base Collateral: WETH or cbBTC - used for inverse products

  • Quote Collateral: USDC - used for standard products

Product Registry Table

Product
Collateral
Strikes
Width Formula
Max Loss per Contract

INVERSE_CALL

Base

1

N/A

1 unit

PUT

Quote

1

N/A

strike

LINEAR_CALL

Quote

1

N/A

strike

CALL_SPREAD

Quote

2

K_upper - K_lower

width

PUT_SPREAD

Quote

2

K_upper - K_lower

width

INVERSE_CALL_SPREAD

Base

2

1 - K_lower/K_upper

width

CALL_FLYS

Quote

3

K_middle - K_lower

width

PUT_FLYS

Quote

3

K_upper - K_middle

width

CALL_CONDOR

Quote

4

K[1] - K[0]

width

PUT_CONDOR

Quote

4

K[3] - K[2]

width

IRON_CONDOR

Quote

4

max(putSpread, callSpread)

width

RANGER

Quote

4

2 × (K[1] - K[0])

width

Vanilla Options

INVERSE_CALL

A call option collateralized in the underlying asset (WETH or cbBTC).

PUT

A put option collateralized in USDC. Max loss = strike price.

LINEAR_CALL

A call option with linear payout capped at 2× strike, collateralized in USDC.

Spreads

CALL_SPREAD

A bullish spread buying a lower strike call and selling a higher strike call.

Width Formula: K_upper - K_lower

PUT_SPREAD

A bearish spread buying a higher strike put and selling a lower strike put.

Width Formula: K_upper - K_lower

INVERSE_CALL_SPREAD

A call spread collateralized in the underlying asset.

Width Formula: 1 - K_lower/K_upper

Multi-Leg Structures

CALL_FLYS (Call Butterfly)

A three-leg structure: buy 1 lower, sell 2 middle, buy 1 upper.

Width Formula: K_middle - K_lower

Validation: Strikes must be equidistant. See validateButterfly.

PUT_FLYS (Put Butterfly)

A three-leg structure: buy 1 upper, sell 2 middle, buy 1 lower.

Width Formula: K_upper - K_middle

Validation: Strikes must be equidistant. See validateButterfly.

CALL_CONDOR

A four-leg structure with two call spreads.

Width Formula: K[1] - K[0] (the spread width)

Validation: Spread widths must be equal. See validateCondor.

PUT_CONDOR

A four-leg structure with two put spreads.

Width Formula: K[3] - K[2] (the spread width)

Validation: Spread widths must be equal. See validateCondor.

IRON_CONDOR

A four-leg structure combining a put spread and a call spread.

Strike Order: [putLower, putUpper, callLower, callUpper]

Width Formula: max(putSpread, callSpread) - uses the larger of the two spreads

Validation: Put spread must not overlap with call spread. See validateIronCondor.

RANGER

A zone-bound strategy with four equidistant strikes.

Strike Order: [K0, K1, K2, K3] where all intervals are equal

Width Formula: 2 × (K[1] - K[0])

Validation: All strike intervals must be equal, with a gap between inner strikes. See validateRanger.

Last updated