Oracle

DeltaTrade product is using the oracle of Pyth Network.

DeltaTrade uses Pyth Network price feed to verify whether the price when the user signed is consistent with the price when it was uploaded to the chain when creating the Bot. If the slippage limit is exceeded, the Trading Vault creation will fail.

DeltaTrade is also using Pyth Network service for two other features:

  • Allows users to create unactivated Trading Vault and then activate them when the price reaches the user's expectation.

  • Allows users to set up take-profit and stop-loss Trading Vault. When the price reaches the take-profit and stop-loss price, anyone can help users close the Trading Vault.

DeltaTrade use Pyth Network service on both testnet and mainnet product.

Pyth Oracle

The Pyth Network is a first-party financial data oracle network that delivers low-latency price data for various assets to blockchains securely.

The Pyth protocol aggregates the data providers' inputs to produce a single aggregate price and confidence interval every 400ms for each price feed. This aggregation mechanism lives on an application-specific blockchain called Pythnet.

Pyth Network introduces a unique architecture called the Pull Oracle. With the Pull Oracle design, data users can “pull” or request a price update from the Pyth protocol when needed.

Learn more, refer to the Pyth documentation.

Last updated