Margin & Liquidation
Learn how Rails calculates margin for long and short options, why short-option margin changes as the market moves, and what triggers liquidation.
New to Options?
If you are new to options trading, we strongly recommend starting with our Intro to Options guide. It covers fundamental concepts like what calls and puts are, the difference between long and short positions, strike prices, expiration dates, and how intrinsic and time value work along with moneyness terms, so you have a solid grasp of the terminology.
Once you understand the basics, you can progress through the remaining sections Pricing & Sensitivities: Black-76 & the Greeks, Margin & Liquidation, Expiry & Settlement before you get started.
Margin is the collateral Rails holds in your account to support your options orders and positions. How much Rails holds depends on whether you are long (buying) or short (selling) an option. This guide covers Margin for each side, then Liquidation: when it happens and how Rails closes positions.
The following table shows what happens in each case for longs and shorts:
Maximum loss
The Premium paid
Short call: no ceiling Short put: large, but limited because the underlying can't fall below zero
Margin to open
Mark Price plus 16.5%
Initial Margin (IM)
Margin while open
16.5% Long Holding Buffer
Maintenance Margin (MM), monitored continuously
OTM discount
No
Yes: lowers IM and MM based on how far the Index Price is from the Strike Price
At 85% Margin Ratio
Long trades within your available margin are still allowed
New short positions and sell orders are blocked
At 98% Margin Ratio
Never liquidated
Short positions are reduced or closed.
Margin
When you buy an option, you pay the Premium upfront, and that is the most you can lose. When you sell an option, you collect the Premium but take on an obligation to pay the payoff at expiry, and that obligation can grow well beyond the Premium if the market moves against you. Because of these differences, long and short options require different margin. Think of it as the difference between buying insurance for a fixed fee and underwriting insurance for a premium.
The margin help by each open position is shown in the Rails UI against all your positions, as shown below:

Long options
Because your maximum loss is fixed when you buy, long options have no maintenance threshold and can't be liquidated. Rails holds a small buffer on top of the Premium to cover the costs that could apply when the position is closed.
How Rails applies margin to a long call or put:
When you place the order, Rails reserves the Mark Price plus 16.5% for each contract.
When the order fills, Rails charges the Premium and keeps the 16.5% Long Holding Buffer reserved.
When you close the position or it settles at expiry, Rails releases the buffer back to your account.
The above is computed using the following formulas:
Where:
Mark Price is the option's fair value, calculated with Black-76.
Quantity is the number of contracts. One contract covers one unit of the underlying asset.
1.165 is the Premium plus the 16.5% buffer, and 0.165 is the buffer alone, held after the Premium is charged.
Example: buying a BTC call
This example assumes you buy 1 BTC call contract when its Mark Price is $3,690 USDT, and the order fills at the Mark Price (Premium).
Margin reserved when you place the order
$3,690 × 1.165 × 1
$4,298.85 USDT
Premium charged when the order fills
$3,690 × 1
$3,690 USDT
Long Holding Buffer kept reserved
$3,690 × 0.165 × 1
$608.85 USDT
Short options
A short option keeps its risk after the trade opens, so Rails checks your collateral when you open the position and keeps checking it for as long as the position is open. Short options use two thresholds:
Initial Margin (IM)
The collateral required to open a short position. It's never lower than your required Maintenance Margin.
Maintenance Margin (MM)
The minimum collateral required to keep a short position open. Rails monitors it continuously and uses it to measure how close your account is to liquidation.
Both thresholds are built from the same three parts:
A share of the Index Price (15% for IM, 5% for MM), reduced by the OTM discount.
A Short Margin Floor (10% of the Mark Price for IM, 5% for MM). Rails uses the floor when it's higher than the index-based amount, so margin never falls below it.
The Mark Price itself. The Mark Price Floor keeps the Mark Price from falling below the option's Intrinsic Value, so an in-the-money short position always holds at least its Intrinsic Value in margin.
OTM discount
The OTM discount lowers both IM and MM for short options. It's based on the Index Price, and it measures how far the Index Price is from your Strike Price:
Short call: the discount is the amount the Index Price is below the Strike Price.
Short put: the discount is the amount the Index Price is above the Strike Price.
The discount shrinks as the Index Price moves toward the Strike Price, and it's zero once the Index Price reaches or passes the Strike Price.
The OTM discount and margin floors work together. As the Index Price moves toward or away from your Strike Price, a different part of the formula sets your margin:
Far from the Strike Price (below it for a call, above it for a put)
Large. It can cancel most or all of the index-based amount.
The Short Margin Floor (10% of the Mark Price for IM, 5% for MM), plus the Mark Price.
Moving toward the Strike Price
Shrinks by $1 for every $1 the Index Price moves toward the Strike Price.
Once the index-based amount is higher than the floor, it sets the margin, so margin rises as the Index Price moves.
At or past the Strike Price
Zero.
The full index-based amount (15% of the Index Price for IM, 5% for MM), plus a Mark Price that the Mark Price Floor keeps at or above the option's Intrinsic Value.
The example further below shows this for a short call as the Index Price rises to the Strike Price.
Short-option formulas
The same formulas apply to short calls and short puts. Only the OTM discount differs.
OTM discount:
Per contract:
For the position:
Where:
Index Price is the current price of the underlying asset. See Price Feeds & Sources.
Mark Price is the option's fair value from Black-76, never lower than its Intrinsic Value (the Mark Price Floor).
Strike Price is the fixed price in the contract.
Quantity is the number of contracts.
and are the per-contract Initial Margin and Maintenance Margin.
Taking the higher of and in the Initial Margin formula for each position makes sure a new position never opens below its own maintenance level.
Example: how short-call margin changes as the market moves
This example assumes you sell 1 BTC call contract with a $105,000 Strike Price, 30 days to expiry and 50% Implied Volatility. For simplicity, the Index Price and Forward Price are equal, and the price move happens instantly. The Mark Prices come from Black-76 and are rounded: about $3,690 USDT at a $100,000 Index Price (see the Worked Pricing Example) and about $6,000 USDT at $105,000.
Mark Price
$3,690
$6,000
OTM discount
$105,000 − $100,000 = $5,000
$0
Initial Margin
15% of Index Price, less OTM discount
$15,000 − $5,000 = $10,000
$15,750 − $0 = $15,750
Short Margin Floor (10% of Mark Price)
$369
$600
Higher of the two, plus Mark Price
$10,000 + $3,690 = $13,690
$15,750 + $6,000 = $21,750
Maintenance Margin
5% of Index Price, less OTM discount
$5,000 − $5,000 = $0
$5,250 − $0 = $5,250
Short Margin Floor (5% of Mark Price)
$184.50
$300
Higher of the two, plus Mark Price
$184.50 + $3,690 = $3,874.50
$5,250 + $6,000 = $11,250
A few things to notice:
The OTM discount does most of the work. At $100,000, the $5,000 discount cancels the 5% index-based part of MM completely, so the 5% Short Margin Floor sets it instead.
Margin moves with the market. A 5% rise in BTC takes MM from $3,874.50 to $11,250 USDT, roughly 2.9 times higher, even though you didn't change the position.
Initial Margin is never below Maintenance Margin. In both cases IM is already higher, so no adjustment is needed.
Liquidation
Liquidation is how Rails reduces risk in an account when its short positions no longer have enough margin. Rails checks this at the account level, not position by position, using your Margin Ratio. Only short positions can be liquidated. This section covers when liquidation happens, how positions are liquidated and how to avoid liquidation.
The Long Holding Buffer counts toward your Margin Ratio, but only short positions are liquidated: a long option can't lose more than the Premium you paid, so it has no liquidation price. Because we add a long position holding buffer to your margin, it is included in your margin ratio, however only short positions are liquidated.
Margin Ratio
Rails monitors every account that holds short positions or open sell orders, continuously, against Maintenance Margin to determine when liquidation is triggered by our risk engine. Your Margin Ratio shows how much of your Account Equity your Maintenance Margin is using:
85% or higher
You're approaching liquidation. You can't open new short positions or place new sell orders. Long trades that fit within your available margin are still allowed.
98% or higher
Liquidation starts. Rails reduces or closes at-risk short positions to bring the account back within limits.
Your Margin Ratio rises when your Maintenance Margin goes up (for example, when the Index Price moves toward your Strike Price) or when your Account Equity goes down (for example, when the Mark Price of your short positions rises). See Short options for what moves Maintenance Margin.
The Margin Ratio for your account can be found in your Account Summary, at the bottom right of the Options Trade screen.

Margin Ratio formula
Where:
Total Maintenance Margin is the sum of the Maintenance Margin of every open short position plus the total of all Long Holding Buffers for any long positons.
Account Equity is the real-time value of your account. See Account Equity.
Total Balance is your settled cash, including deposits and Premiums. It doesn't include unrealized P&L. See Total Balance.
Positions Mark Value is the Mark Price × Quantity of each open position, counted as negative for short positions. See Position Mark Value.
Example: a short call moving toward liquidation
This example continues the short call example above: you sell 1 BTC call contract with a $105,000 Strike Price, 30 days to expiry and 50% Implied Volatility. It assumes you deposited $15,000 USDT, collected a $3,690 USDT Premium, paid no fees, and hold no other positions. The Index Price and Forward Price are equal, and each price move happens instantly. Mark Prices come from Black-76, rounded to the nearest dollar.
Mark Price
$3,690
$6,000
$6,822
Total Balance
= $15,000 + $3,690
= $18,690
$18,690
$18,690
Account Equity
= $18,690 − $3,690 = $15,000
= $18,690 − $6,000
= $12,690
= $18,690 − $6,822
= $11,868
Maintenance Margin
$3,874.50
$11,250
$12,147
Margin Ratio
= $3,874.50 ÷ $15,000
= 25.83%
= $11,250 ÷ $12,690
= 88.65%
= $12,147 ÷ $11,868
= 102.35%
Account status
Below 85%
New short positions and sell orders blocked
Liquidation starts
A few things to notice:
Both sides of the ratio move. As BTC rises, Maintenance Margin goes up and Account Equity goes down, because the short call's Mark Price is subtracted from your Total Balance.
The ratio can move quickly. A 5% rise in BTC takes the ratio from 25.83% to 88.65%. A further 1.4% rise takes it past 98%.
Your Total Balance doesn't change. It reflects settled cash only. The change comes from the Mark Price and Maintenance Margin of the open position.
Liquidation Process
When your Margin Ratio reaches 98%, Rails cancels open orders on the contracts it acts on, then reduces or closes short positions in a set order. Rails uses the Greeks to set that order:
After each position is reduced or closed, Rails recalculates your Margin Ratio. Once it's back below 98%, liquidation stops and your remaining positions stay open.
A 1% liquidation fee applies. Rails charges 1% of the liquidated value on every liquidated position, in addition to trading fees. The fee goes to a liquidation fund, which Rails uses to bring an account back to zero if liquidation leaves it with a negative balance. See Pricing & Fees.
Liquidation fee formula:
Where the Liquidated Value is the value of the position Rails reduces or closes. See Liquidation Fee.
Avoiding liquidation
Your Margin Ratio goes down when your Account Equity goes up or your Maintenance Margin goes down. To lower it:
Reduce or close short positions. Closing a short removes its Maintenance Margin from the total. Closing orders are Reduce Only. See Order Types & Placing Orders.
Watch your strikes. Maintenance Margin rises as the Index Price moves toward the Strike Price of a short position, so check your Margin Ratio more often when that happens.
Where to go next
Last updated
Was this helpful?

