Metrics Explained

Profit & Loss (PnL)

Unrealized PnL

Definition: Profit or loss on open positions (not yet closed).

Formula:

Long: (Current Price - Entry Price) × Size
Short: (Entry Price - Current Price) × Size

Characteristics:

  • Changes in real-time as prices move

  • Not guaranteed until position closed

  • Shown in position panel

Realized PnL

Definition: Profit or loss from closed positions (locked in).

Formula:

Realized PnL = Exit Price - Entry Price (accounting for size and fees)

Characteristics:

  • Finalized when position closes

  • Added to account balance

  • Used for performance tracking

Net PnL

Definition: Total profit/loss including both realized and unrealized.

Trading Performance

Win Rate

Definition: Percentage of profitable trades.

Formula:

Example:

Interpretation:

  • 50%+: Positive win rate

  • 60%+: Good performance

  • 70%+: Excellent performance

High win rate doesn't guarantee profitability. Large losses can offset many small wins.

Profit Factor

Definition: Ratio of gross profit to gross loss.

Formula:

Example:

Interpretation:

  • 1.0: Break even

  • 1.0: Profitable

  • 2.0: Strong performance

Average Win vs Average Loss

Metrics:

Risk/Reward Ratio:

Example:

Drawdown Metrics

Current Drawdown

Definition: Current percentage below peak balance.

Formula:

Example:

Max Drawdown

Definition: Largest peak-to-trough decline observed.

Use: Measures worst-case risk exposure.

Example:

Daily Drawdown

Definition: Loss within current 24-hour period.

Resets: Midnight UTC

Example:

Risk-Adjusted Returns

Sharpe Ratio

Definition: Measures return relative to risk taken.

Formula:

Interpretation:

  • <1.0: Poor risk-adjusted return

  • 1.0-2.0: Good

  • 2.0-3.0: Very good

  • 3.0: Excellent

Example:

Higher Sharpe ratio = better risk-adjusted returns.

Sortino Ratio

Definition: Like Sharpe, but only penalizes downside volatility.

Why: Ignores upside volatility (which is desirable).

Formula:

Vault-Specific Metrics

Vault ROI

Definition: Return on initial capital for the vault.

Formula:

Example:

Time to Deadline

Definition: Days remaining until deal ends.

Displayed as:

  • "15 days remaining"

  • "2 hours remaining"

  • "Expired" (if past deadline)

Oracle Freshness

Definition: Time since last balance update.

Status:

  • Fresh: <5 min

  • Warning: 5-10 min

  • Stale: >10 min (trading blocked)

Position Metrics

Leverage

Definition: Position size relative to account equity.

Formula:

Example:

Liquidation Distance

Definition: How far price can move before liquidation.

Percentage:

Example:

Warning Levels:

  • 20%: Safe

  • 10-20%: Monitor

  • 5-10%: Warning

  • <5%: Critical

Time-Based Metrics

Holding Time

Average:

Use: Identifies trading style (scalping vs swing trading).

Trading Frequency

Trades per Day:

Example:

Fee Analysis

Total Fees Paid

Components:

  • Trading fees (maker/taker)

  • Gas fees (withdrawals, closes)

  • Funding fees (perpetual positions)

Fee Impact on PnL

Net Profit After Fees:

Fee Percentage:

Last updated