---
title: "Price Oracles"
description: "Stork, Pyth Network and the Upscale Price Index: where quotes come from and how a single price is formed"
icon: tower-broadcast
published: true
---

Quotes on Upscale come from three sources: the [Stork](https://docs.stork.network/) and [Pyth Network](https://pyth.network/) oracles for crypto assets, and Upscale's own **Upscale Price Index** mechanism for synthetic stocks, WTI crude oil, natural gas, copper and stock indices.

## Price sources

{% tabs %}
{% tab title="Stork" %}
A next-generation oracle built for ultra-low latency. It refreshes price data at intervals under 1 millisecond, gathering information from the largest centralised exchanges. The data is digitally signed and delivered to TON over websockets.

* Ultra-low latency — updates are effectively instant.
* Off-chain aggregation — collecting prices off-chain keeps latency down.
* Broad coverage — data from leading exchanges.
* Built for derivatives — suited to futures and high-frequency trading.

More in the [Stork documentation](https://docs.stork.network/stork-for-real-time/what-is-stork-for-real-time).
{% endtab %}

{% tab title="Pyth Network" %}
Aggregates data from more than 65 sources, including crypto exchanges and equity and currency markets. It runs on Solana infrastructure and delivers data through the [Wormhole](https://wormhole.com/) protocol for cross-chain integration.

* A wide range of sources — pricing draws on several markets.
* High update frequency — more than 700 updates per second.
* Cross-chain compatibility — data delivered via Wormhole.

More in the [Pyth documentation](https://pyth.network/).
{% endtab %}

{% tab title="Upscale Price Index" %}
Upscale's own pricing mechanism for synthetic stocks, WTI crude oil, natural gas, copper and stock indices. In the terminal these instruments carry a "Powered by Upscale Price Index" label.

**Stocks and commodities.** The mechanism aggregates quotes from the corresponding futures markets on major CEXs and DEXs. The data is validated, combined and refreshed in real time, so quotes for 24/7 stocks, WTI crude oil and natural gas stay available around the clock — even when the underlying exchange is closed. Copper trades on its own schedule, with a daily break and a weekend pause.

**Stock indices.** Prices are formed from aggregated market data on the corresponding futures markets: each instrument uses the futures market tied to its stock index. The resulting price is used to build the chart, execute trades and calculate PnL. GER40 and EU50 are quoted in euros, with conversion to dollars applied automatically.

**Futures contract rollover.** For US500, NAS100, US30, US2000, GER40, EU50 and HG copper, the price is calculated from two futures contracts, weighted by time to expiry. As a result, the price does not jump when the contract rolls over: the switch has no effect on PnL and does not trigger Stop Loss or Take Profit orders, liquidations or drawdown limit breaches.

{% hint style="info" %}
The price of a futures index can differ from the value of the cash or spot index. This is a normal feature of futures markets: the gap depends on interest rates, expected dividends, time to contract expiry and current market conditions.
{% endhint %}

What this gives a trader: quotes for synthetic stocks, WTI crude oil and natural gas refresh around the clock even when the underlying exchange is closed, while index instruments reflect the level of the futures market behind the index.
{% endtab %}
{% endtabs %}

Which instruments fall into each category, and which source serves them, is set out on the [Trading Assets](Trading_Assets.md) page.

## How the price is formed

The platform uses a single price built on aggregated liquidity, resting on two components.

| Component | How it is calculated |
|---|---|
| Index Price | from aggregated data weighted by trading volumes across exchanges, with anomalous values discarded |
| Market Price | always matches the Index Price and is delivered by the oracle; execution happens at a price reflecting the combined liquidity of the largest CEXs |

Aggregation accounts for order book depth on leading CEXs and the balance between long and short positions. The trader sees one price chart and one price, with no split between Market and Index Price in the interface.

{% hint style="info" %}
Spread and slippage are separate figures, unrelated to how the price is formed. Spread rates by category and the components of price deviation at execution are on the [Fees](Fees.md) page, and the deviation allowed when a Stop Market order executes is covered on the [Order Types](Order_Types.md) page.
{% endhint %}
