RFQ Calculations Guide
Table of Contents
Overview
Importing
import {
calculateNumContracts,
calculateCollateralRequired,
calculateReservePrice,
calculateDeliveryAmount,
premiumPerContract,
isBaseCollateral,
isPhysicalProduct,
type ProductName,
type DeliveryResult,
} from '@thetanuts-finance/thetanuts-client';Core Functions
isBaseCollateral
calculateNumContracts
calculateCollateralRequired
premiumPerContract
calculateReservePrice
Buy vs Sell Orders
SELL Orders
BUY Orders
Examples by Product Type
Vanilla Options
Spreads
Multi-Leg Structures
Physical Options
isPhysicalProduct
calculateDeliveryAmount
Product
Collateral (Seller)
Delivery (Buyer)
Physical Option Examples
Max Contracts Calculation (OptionBook)
Max Contracts by Option Type
Option Type
Collateral Type
Formula
Example (10,000 collateral, $2,500 strike)
INVERSE_CALL vs LINEAR_CALL
Example: Filling Orders
Related Documentation
Last updated

