Multi-Leg Structures
How the SDK Detects Structure
strikes.length === 1 → VANILLA (single option)
strikes.length === 2 → SPREAD (2-leg)
strikes.length === 3 → BUTTERFLY (3-leg)
strikes.length === 4 → CONDOR (4-leg)All Option Structures Summary
Structure
Strikes
Implementation
Strike Order
Collateral Formula
Spread (2 Legs)
buildRFQParams with strikes array
buildSpreadRFQ (named helper)
Butterfly (3 Legs)
Full example with real TX hash
buildButterflyRFQ (named helper)
Condor (4 Legs)
Full example with real TX hash
buildCondorRFQ (named helper)
Iron Condor (4 Legs, Mixed)
Collateral by Structure
Structure
Collateral Formula
Example (N=1)
Strike Ordering
Product Type Reference
See Also
Last updated

