Trading Metrics Guide
Last updated
Was this helpful?
Last updated
Was this helpful?
This article explains common metrics on the Rails platform, including their precise calculations.
Entry Price: The index price at time of position open.
Average Price: The weighted average entry price of all trades that make up the (open) position, including any additional buys or sells made over time.
Exit Price: The index price at time of position close (only for realized P&L).
Profit & Loss: How much in USD gained (profit) or lost (loss) compared to the entry price and position size.
Quantity: The position size in units of the asset (e.g. 0.01 BTC).
Trading Fees: Total entry and exit fees in USD.
Funding Payments: (positive or negative)
Realized P&L: The P&L realized so far. For an open order this contains the P&L from partially closing a position.
The realized and unrealized P&L calculations varies for long and short trades. Unrealized P&L represents the profit or loss if the position were closed at the current moment. When a position is closed, the realized P&L is calculated and added to the P&L in the Account Summary. The Unrealized P&L value in the account summary is the total of all positions' unrealized P&L.
This Available Balance is the amount you have available to place new trades. It remains static unless you open or close positions, realize profits or losses, or deposit or withdraw funds.
The Account Balance is the current, total balance of your account including both available balance and balance in trades. This consistently changes if you have open positions, as the index price of the assets you’ve traded against fluctuates.
Margin is calculated as the combined value of all open positions and active open orders, divided by the selected leverage (1x to 5x). This amount, which is held as collateral from your available balance, ensures you have enough funds to support both existing and potential future trades.
Maintenance Margin is the minimum amount of collateral required to keep your open positions active and avoid liquidation, calculated as a percentage (the safety margin, see below) of the total balance of all open positions.
Effective Leverage is the actual leverage applied to an open position. It may differ from the leverage you initially selected due to changes in your available balance caused by index price movements, fees, or margin adjustments between order placement and trade execution.
Account Leverage reflects the total size of your open positions relative to your available margin, showing how much risk you are taking across all trades combined. It aggregates the effective leverage from all open positions into a single number, showing your total risk exposure.
The Liquidation Price is the index price at which a position will be liquidated. It is the maximum absolute index price permitted to maintain a non-negative account balance, and is calculated slightly differently for Long and Short positions as shown below.
Index Price: The fair market value of the asset pulled from our .
Due to the complexity of funding, it's calculations have a dedicated article which can be found .
The Margin Rate is the proportion of the total balance of all open positions that must be held from your available balance as collateral when opening a position. It’s the reciprocal of .
The Safety Margin is the percentage of your total position value you must keep as margin to avoid . It's a standard 3% buffer which is added to account for market volatility and slippage.
Visit for a more in-depth explanation of leverage and liquidation.