Options Metrics Guide
Learn how Rails calculates option premium, payoff, and margin.
This guide explains the main options metrics on Rails and how they are calculated. Explore them below:
See Black-76 & the Greeks for pricing inputs and Margin & Liquidation for liquidation mechanics.
Definitions
F
Forward price: the underlying reference price used to value the option. On Rails, F=Pindex
K
Strike price: the price at which the option settles at expiry.
P
Q
Contracts: the number of option contracts in the position.
S
Side: direction of the position, where:
Long = 1
Short = -1
T
Time to expiry: the remaining life of the option, expressed in years.
p
Premium: the per-contract amount paid by the buyer or received by the seller.
ppaid is the Premium Paid.
prcvd is the Premium Received.
M
Margin, where:
IM is Initial Margin, or collateral required to open or maintain a short option position.
MM is Maintenance Margin, or the minimum collateral required to avoid liquidation on a short option position.
Mused is Used Margin, or collateral locked to cover open orders and positions.
D
Deposits: Amount of USDT deposited into your account. Note: Transferring cash balances from Perps to Options Account are considered a deposit.
W
Withdrawals: Total USDT withdrawal volume. Note: Transferring cash balances from Options to Perps are considered a withdrawal.
P&L
Profit & Loss: the USDT profit or loss relative to entry and position size, where:
P&Lu = Unrealized P&L
P&Lr = Realized P&L
Fee
Fees: Total fees charged in USDT, where:
Feedel is the Delivery Fee (only at expiry)
Feetxn is the Transaction Fee (except at expiry)
PO
Payoff: the USDT amount settled at expiry, equal to the option's intrinsic value if in-the-money and zero otherwise. The seller pays the payoff to the buyer at settlement.
Calculations
General
Total Balance
Total Balance is the settled cash value of your account. It reflects completed events, but does not include unrealized P&L from open positions:
Total Balance=Dtotal+ptotal+PO−Wtotal−Feestotal
Available Balance
Available Balance: funds available for new trades or withdrawals.
Available Balance=Total Balance−Mused
Account Balance
Your Account Balance is your total cash (collateral), and is equivalent to your Total Balance when you have no positions open.
Account Balance=Available Balance+Mused
Account Equity
Account Equity is the real-time value of the account, combining settled cash with the current mark-to-market value of all open positions:
Account Equity=Total Balance+∑i(Pmark,i×(Qi×Si)
where:
∑i(Pmark,i×Qi) is the combined mark-to-market value of all open positions, using each position's Mark Price (Pmark,i) and quantity
For short positions, the position mark value is negative, so Account Equity can be above or below Total Balance depending on how open positions are marked.
Margin
Margin Ratio
Margin Ratio measures how close a short position account is to liquidation. It is the account's total maintenance requirement relative to its equity.
Margin Ratio=Account EquityMMtotal
where:
MMtotal=∑iMMi
Note: the sum of the Maintenance Margin for each open position (i) (see Maintenance Margin (Short Call/Put)).
Account Equity=Total Balance+Positions Mark Value
A higher Margin Ratio indicates greater liquidation risk; liquidation is triggered when the ratio reaches 100%.
Margin (Long Call/Put)
For long calls or puts, the maximum loss is the premium paid for the contract and adds a buffer rate of 16.5%, therefore: Required initial margin is calculated: IM=(p×1.165)×Q
Once the premium is paid upon fills, the maintenance margin required becomes: MM=(p×0.165)×Q
The 16.5% buffer rate covers a 12.5% liquidation fee, 1% insurance fee, and 3% slippage.
Initial Margin (Short Call/Put)
For short calls or short puts, potential losses can be large. Short calls have no upside loss ceiling, and short puts can still lose significantly if the underlying falls to zero. Therefore, margin is the greater of IM′ and Maintenance Margin:
M=max(IM′, MM)
Where:
IM′=[max(0.15×Pindex−OTM Discount, 0.10×Pmark)+Pmark]×Q
This uses 15% index-based risk, with a 10% mark-price floor, plus mark price. It also ensures Initial Margin never falls below Maintenance Margin.
Maintenance Margin (Short Call/Put)
In Short Calls or Short Puts, Maintenance Margin is used for liquidation monitoring:
MM=max(0.05×Pindex−OTM Discount, 0.05×Pmark)×Q
This uses 5% index-based risk, or 5% mark-price floor.
Mark Price Floor (Calls & Puts)
Rails prices options using Black-76 and applies an intrinsic value floor to prevent a mark price below intrinsic value.
For calls: Pmark=max(Pcall, max(F−K,0))
For puts: Pmark=max(Pput, max(K−F,0))
OTM Discount (Short Calls/Puts)
For short calls, the OTM discount reduces short-call margin when the call is out of the money:
OTM Discount=max(0, K−Pindex)
For short puts, the OTM discount reduces short-put margin when the put is out of the money:
OTM Discount=max(0, Pindex−K)
Position Mark Value
Positions Mark Value is the mark-to-market value of all open positions:
Positions Mark Value=∑i(Pmark,i×Qi)
Pricing, Fees & Settlement
Premium
Option premiums are calculated using the Black-76 formula. Given the complexity, the formula and details are explained in our article on Black-76 and the Greeks.
Intrinsic Value
Intrinsic value is the option's immediate exercise value — what it would be worth if exercised right now.
For calls: Intrinsic Value=max(F−K, 0)
For puts: Intrinsic Value=max(K−F, 0)
Payoff
At settlement, if the contract is ITM, the contract seller pays the intrinsic value to the buyer, else the contract expires worthless.
For calls: PO=Q×max(F−K, 0)
For puts: PO=Q×max(K−F, 0)
Transaction Fee
The transaction fee applied to each options trade (other than at expiry) is calculated as:
Feetxn=min(0.0003×Pindex,0.125×p)×Q
The 12.5% cap on the option price prevents the fee from ever exceeding a fair proportion of the premium. Deep out-of-the-money contracts can have a premium close to zero, so charging on the index price alone would be disproportionate; the MIN function ensures the fee stays reasonable relative to the premium.
Last updated
Was this helpful?

