For the complete documentation index, see llms.txt. This page is also available as Markdown.

Risk Engine

Opal's risk engine is designed to prevent system insolvency while protecting traders from predatory practices.

Mark Price System

Oracle Architecture Multi-provider aggregation for robust, manipulation-resistant pricing.

Primary Feeds

  • Chainlink (high reliability, wide coverage)

  • Pyth (low latency, high frequency)

  • Blend methodology (finalized pre-launch)

Mark Price Calculation

  • Medianized across providers

  • Freshness constraints (maximum staleness)

  • Deviation bounds per block

  • Outlier rejection

Safeguards

  • Heartbeat limits ensure continuous updates

  • Circuit breakers on extreme deviations

  • Failover to backup feeds during outages

  • Manual intervention capability for edge cases


Margin System

Margin Types

  • Initial Margin: Required to open a position

  • Maintenance Margin: Threshold below which liquidation triggers

Dynamic Margin Requirements Margin levels adjust based on:

  • Market volatility

  • Position size

  • Open interest concentration

  • Systemic risk indicators

Margin Modes (Roadmap)

  • Cross Margin: Share margin across positions

  • Isolated Margin: Risk isolated per position

Last updated