YFX.COM
YFXTwitterTelegramMedium
  • Overview
  • YFX Token
    • YFX Cross-chain Bridge
  • Roadmap
  • Why Choose YFX?
  • 💻YFX V4
    • What is YFX V4?
    • LPB-AMM
    • YLP
    • LP Leverage
    • Trading
      • Trading Mechanism
      • Premium&Market Price
      • Price Impact
      • Transaction Process
      • Contract Types
      • Pricing Mechanism
      • Fees
      • Order Types
      • Position Modes
    • Earning
    • Referrals
    • MPC Wallet
    • API
  • Common Resources
    • Audit
    • Media Kit
  • FAQ
  • Previous Version
    • YFX V3
    • YFX V2
    • VFX V1
Powered by GitBook

CopyRight @YFX.COM

On this page
  • ChainLink solution
  • PYTH solution

Was this helpful?

  1. YFX V4
  2. Trading

Pricing Mechanism

PreviousContract TypesNextFees

Last updated 1 year ago

Was this helpful?

In YFX V3, we introduced a mechanism for comparing on-chain oracle prices with ChainLink to prevent failures with our Oracle. In the product design of YFX V4, we have made further optimizations by introducing real-time prices from two leading oracle products in the market, and , as the index price for YFX, ensuring the fairness and openness of the index price.

ChainLink solution

We have adopted ChainLink's and to execute market orders and judge whether limit orders, take-profit, stop-loss, and forced liquidation are triggered.

PYTH solution

We accept real-time prices published by PYTH and use PYTH's official contract to verify signatures.

Through collaboration with ChainLink and PYTH, YFX has thoroughly resolved the issue of the openness and fairness of index prices, making trading more equitable. Anyone can verify that YFX's index price sources are from ChainLink or PYTH.

💻
ChainLink
PYTH
DataStream
Automation
PYTH Price Feeds