Skip to content

Commit 7595f14

Browse files
committed
update-wip
1 parent 3c1878a commit 7595f14

File tree

3 files changed

+49
-16
lines changed

3 files changed

+49
-16
lines changed

pages/price-feeds/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737

3838
"api-reference": "API Reference",
39-
"price-feed-ids": "Price Feed IDs",
39+
"price-feeds": "Price Feeds",
4040
"sponsored-feeds": "Sponsored Feeds",
4141
"asset-classes": "Asset Classes",
4242
"market-hours": "Market Hours",

pages/price-feeds/price-feed-ids.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

pages/price-feeds/price-feeds.mdx

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Price Feeds
2+
3+
Pyth Price Feeds provide real-time, first-party, market data for a wide range of assets.
4+
5+
Every price feed has a **unique ID**, representing the specific pair of assets being priced.
6+
These specific pairs are part of an asset class, which is a broader category of assets.
7+
8+
Anyone can fetch available price feeds and their IDs via [Hermes API](https://hermes.pyth.network/docs/#/rest/price_feeds_metadata).
9+
10+
## Asset Classes
11+
12+
At the time of writing, Pyth price feeds are available for the following asset classes:
13+
14+
- **Crypto**
15+
- **Spot Prices**: Real-time prices for cryptocurrencies and digital assets
16+
- **Redemption Rates**: Real-time swap rates derived from smart contracts for the redemption of liquid staking and liquid restaking tokens (LSTs and LRTs), liquidity provider tokens (LP Tokens) and interest-bearing assets, including tokenised notes
17+
- **Indices**: Real-time prices that measure the performance of baskets of cryptocurrencies and digital assets
18+
- **US Equities**
19+
- **Spot Prices**: Real-time prices for US equities
20+
- **FX**
21+
- **Spot Prices**: Real-time prices for fiat currency pairs
22+
- **Metals**
23+
- **Spot Prices**: Real-time prices for precious metals
24+
- **Rates**
25+
- **Future Prices**: Real-time prices for fixed income products, including bond futures
26+
- **Commodities**
27+
- **Futures Prices**: Real-time prices for commodity futures
28+
29+
30+
31+
32+
33+
## Price Feed IDs
34+
35+
Price Feed IDs are unique identifiers for each specific pair of assets being priced (e.g. BTC/USD).
36+
Every price update is tagged with the corresponding price feed ID.
37+
38+
Applications need to store the IDs of the feeds they wish to read.
39+
However, the IDs may be represented in different formats (e.g. hex or base58) depending on the blockchain.
40+
Price feeds also have different IDs in the Stable and Beta channels.
41+
42+
Refer to the [Price Feed ID reference catalog](./price-feed-ids/index.md) to identify a feed's ID in your chosen ecosystem.
43+
44+
### Solana Price Feed Accounts
45+
46+
On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data.
47+
The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number.
48+
See [How to Use Real-Time Data on Solana](./use-real-time-data/solana#price-feed-accounts) for more information on price feed accounts.

0 commit comments

Comments
 (0)