Horizon Academy
English V2
English V2
  • Horizon Academy
  • Horizon Protocol
    • Introduction
      • Tokenomics
      • Business Model
      • Synthetic Assets - zAssets
    • Security Audit
    • Roadmap & Achievements
    • Community
      • How to Initiate a HIP
      • HIPs
        • HIP-22: Create a zUSD - USDC pool on Pancakeswap V3
        • HIP-21: Stop Incentives to the zBNB - BNB pool on Wombat Exchange
        • HIP-20: Suspend zMATIC Market and Introduce zPOL Ahead of MATIC to POL Migration
        • HIP-19: Temporarily reduce C-Ratio to 350%
        • HIP-18: Add DOGE and SHIBA to Horizon Futures
        • HIP-17: Add DOT, AVAX, and MATIC to Horizon Futures
        • HIP-16: Add XRP, ADA, and LINK to Horizon Futures
        • HIP-15: Add SOL to Horizon Futures
        • HIP-14: Reduce Trading Fees during Horizon Futures Promotional Period
        • HIP-13: Suspend zNVDA market ahead of Stock Split and convert zNVDA to zUSD
        • HIP-12: Updated Utilization of zUSD & zBNB Liquidity
        • HIP-11: Redirect HZN from EARN Pool to PancakeSwap as ‘Bribe’ using Cakepie
        • HIP-10: Use zAssets from Community Fund staking to provide liquidity on Wombat via Yield Aggregator
        • HIP-9: Redirect HZN from EARN Pools to Wombat Exchange as ‘Bribes’
        • HIP-8: Move the zUSD-BUSD and zBNB-BNB Liquidity Pools to Wombat Exchange
        • HIP-7: Utilize the Community Fund for Additional Liquidity
        • HIP-6: Lower Target C-Ratio to 600% from 700%
        • HIP-5: List New zAssets
        • HIP-4: Use Keepers to Close Weekly Fee Periods
        • HIP-3: Suspend zTSLA ahead of Stock Split
        • HIP-2: Lower Target C-Ratio to 700%
        • HIP-1: Create incentivized zBNB/BNB pool
      • Community Grant Program
    • FAQs
    • Brand Assets
  • FUTURES
    • Introduction
      • What is a Perpetual Future?
    • Futures Trading on Horizon Protocol
      • Perpetual Futures - Deep Dive
        • Delta Neutrality
        • Price Impact Function
        • Dynamic Funding Rates
        • Dynamic Funding Rate Simplified Example
        • Visualizing Price Impact and Dynamic Funding Rate in Horizon Futures
      • Order Types
      • Profit & Loss
      • Oracles
      • Fees & Rebates
      • Liquidation
      • Liquidity
        • Global zAsset Market Liquidity
        • On/Off Ramp Liquidity
      • Account Management (FAMS)
      • Arbitraging in Perpetual Futures
    • AI Trading - Signals/indicators
      • ViperAI
      • WaveML
      • Minima/Maxima
      • Fear and Greed Index
    • Guides
      • Trading Futures on Horizon Protocol
        • 1. Getting Started
          • a. Set Up Wallet
          • b. BNB Chain Network Set Up
          • c. Acquire zUSD
        • 2. Set Up Your Account
        • 3. Open a Position
        • 4. Close a Position
        • 5. Modify / Cancel Order
      • Futures Testnet Guide
        • 1. Getting Started
          • a. Set Up Wallet
          • b. Get Arbitrum Sepolia ETH
          • c. Get Testnet zUSD
        • 2. Set Up Your Account
        • 3. Open a Position
        • 4. Close a Position
  • Stake & Earn
    • Introduction
    • Staking on Horizon Protocol
      • Staking and Rewards
      • Mint, Burn, and Claim
      • Collaterialization and C-Ratio
      • Liquidation
      • Managing Risk
      • C-Ratio Strategies
      • Hedge your Portfolio
    • Earn: Liquidity Pools
    • Interfaces
      • Account - Escrow
      • Account - Authorize
      • Account - History
    • Guides
      • How to Stake by Minting zUSD
      • Adding Liquidity for zUSD and zBNB pools
      • Add Liquidity for HZN-BNB
      • Remove LP Tokens for zUSD-BUSD Pool
      • Setting Up Chainlink Automation
  • Exchange
    • Introduction
    • Spot Trading on Horizon Protocol
      • Markets
      • Oracles
      • Exchange Fees
    • Interfaces
  • Educational Articles
    • Glossary and Definitions
    • What are DeFi Derivatives and how are they used
    • A Brief History of Synthetic Assets and Financial Derivatives
    • DeFi Derivative Projects
  • Introduction
Powered by GitBook
On this page
  • Why Horizon Protocol Use Oracles
  • Oracle Refresh Rate
  1. Exchange
  2. Spot Trading on Horizon Protocol

Oracles

PreviousMarketsNextExchange Fees

Last updated 1 year ago

Oracles are data sources or data feeds that are designed to be fed into a smart contract. Oracles are typically third-party services that allows a blockchain to connect with and receive external data from outside of their ecosystem.

Most common use case for oracles involves the access of real-time data, most often in the form of real-time price feeds of different assets.

Oracles give the crypto and defi ecosystem a method to connect blockchain ecosystems between each other and to the real world as well, while providing security features to ensure data confidentiality.

Why Horizon Protocol Use Oracles

Oracles are a critical part to Horizon Protocol and are necessary because oracles are responsible for providing the price feeds that determine the prices of assets listed in the Horizon Exchange.

  • crypto

  • stocks

  • indices

  • commodities

  • NFTs

  • and more!

Oracle Refresh Rate

Horizon Protocol Synthetic Assets (zAssets) need regular on-chain price feeds to update their price shown on the Horizon Exchange.

It is important to note that each refresh of a price requires a payment to the oracle providing the price, making constant price checks financially unfeasible. To solve this, oracles used by Horizon Protocol refresh prices based on two variables:

  • Heartbeat — a predetermined time period (e.g. every 4 hours)

  • Variance — a predetermined price threshold (e.g. 0.2% change in price)

Should either of these variables return true, the oracle will refresh the price.

Different oracle providers such as and represent unlimited access to any type of asset and enforce the security and safety of the price feeds to:

The Heartbeat and Variance is potentially different for each zAsset. Learn more about this in Exchange Fees. And check out for Heartbeat and Variance for each oracle data feed that we use (click into a particular data feed to see the specifics).

@chainlink
@Phoenix_Chain
Chainlink Docs