CVEX Docs
WebsiteAffiliate DashboardTestnet
  • Website
  • Trading Terminal
  • Introduction
    • CVEX Overview
    • Component Breakdown and Definitions
    • Use Cases and Applications for Futures and Options
  • Background
    • The State of Cryptocurrency Trading and Problems Faced
    • Perpetual Contracts and Their Limitations
    • Options Trading in Crypto Markets
    • Conclusion
  • Protocol
    • Overview
    • Protocol Owner
    • Platforms
    • Price & Risk Oracles
    • Contracts
    • Order Types
    • Positions
    • Range Orders
    • Matching Engine
    • Collateral Token (USDC)
    • Frontends
    • Clearance Bots
    • CVEX Token
    • Fees & Rewards
  • Margin & Liquidations
    • Overview
    • Futures Mark Price
    • Black Scholes Model
    • Implied Volatility Surface
    • Premium Mark Price
    • Options Hedge Ratio
    • Value-at-Risk Model
    • Risk Parameters
    • Initial & Required Margin
    • Liquidation Protocol
    • Default Fund
    • Deleverage Queue
    • Default Prevention
  • Crypto Valley Exchange Platform
    • Overview
      • Case Studies
    • Contracts
    • Margin Model
    • Fees & Rewards
    • Go To Market Strategy
    • Affiliate Marketing
    • Market Makers
    • Brokers & Structured Product Providers
    • Front End & Builder Incentives
    • Price & Risk Oracles
  • Building on CVEX
    • Development Resource
  • Strategy
    • Security measures & Risk Prevention
    • Future Work
    • Legal & Compliance
    • Team and Advisors
    • Conclusion
  • Disclaimer
  • Credits
Powered by GitBook
On this page
  • Price Oracles
  • Risk Oracles
  1. Protocol

Price & Risk Oracles

Critical to the CVEX platform's operations are two types of oracles: Price Oracles and Risk Oracles. These external data sources are fundamental for continuous trading activities.

Price Oracles

These are crucial for providing real-time prices of underlying assets, which are necessary for Mark Price calculations and settlement of contracts. Regular updates (ranging from 1 to 30 minutes) of price data are critical to maintaining the integrity of Mark Prices, which directly influence traders' profit and loss (P&L), margin, and equity.

Platform owners are tasked with selecting the appropriate price sources for each contract linking them to their respective underlying assets. CVEX Protocol intends to support various price sources, including:

  • Off-chain Oracles: These trusted entities transmit prices to the protocol on chain via transactions, offering the flexibility to support a wide range of assets. The primary advantage lies in their adaptability, but they require trust and incur gas fees for price updates.

  • Decentralised Data Feeds: CVEX will also integrate a variety of decentralized oracles, such as Chainlink and DIA Data. While they provide high confidence in data integrity, the challenge lies in the limited availability of assets and potentially less frequent updates.

Risk Oracles

These oracles provide volatility for underlying assets and their return correlations. This data is crucial for accurately calculating margins, which directly impact traders' collateral requirements and liquidation thresholds. Frequent updates to risk parameters (every 1-48 hours) are essential to ensure precise and stable margin calculations. The methodology, dataset, and update frequency are all transparent.

A critical responsibility of platform owners is to manage the delicate balance between default risk and the leverage provided to traders, achieved through the accurate configuration of Risk Oracles. The effective setup and continual adjustment of risk parameters ensure that the platform operates within safe risk thresholds, thereby safeguarding both the platform's integrity and the safety of its users.

Initially, Risk Oracles will be implemented as trusted off-chain entities, primarily managed by Platform Owners. As the cryptocurrency ecosystem evolves, CVEX plans to explore decentralized sources for these critical parameters.

PreviousPlatformsNextContracts

Last updated 1 year ago