Skip to content

Commit 6ebc7fd

Browse files
committed
requested changes
1 parent 5586b4a commit 6ebc7fd

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

pages/price-feeds/how-pyth-works/price-aggregation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Second, the **aggregate price should appropriately weight data sources with diff
1313
![](../../../images/Price_Aggregation_2.png)
1414

1515
Finally, the **aggregate confidence interval should reflect the variation between publishers’ prices.**
16-
Under normal market conditions, we expect the product to trade at a similar price across exchanges.
16+
Under normal market conditions, we expect a product to trade at a similar price across exchanges.
1717
In these cases, we would like the aggregate confidence interval to reflect the confidence intervals of the individual data providers, as shown in the figure on the left.
1818
However, in some rare situations, a product can trade at different prices on different exchanges.
1919
In these cases, the aggregate confidence interval should widen out to reflect the variation between these prices, as shown in the figure on the right.
@@ -28,7 +28,7 @@ The second step computes the distance from the aggregate price to the 25th and 7
2828

2929
This process acts like a hybrid between a mean and a median, giving confident publishers more influence, while still capping the maximum influence of any single publisher.
3030
The algorithm has an interpretation as computing the minimum of an objective function that penalizes the aggregate price from deviating too far from the publishers' prices.
31-
This interpretation allows us to prove the properties of the algorithm's behavior: for example, the aggregate price will always lie between the 25th and 75th percentiles of the publishers' prices.
31+
This interpretation allows us to prove properties of the algorithm's behavior: for example, the aggregate price will always lie between the 25th and 75th percentiles of the publishers' prices.
3232

3333
**Scenarios**
3434

pages/price-feeds/how-pyth-works/pythnet.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ Pythnet forms the core of Pyth's off-chain price feeds that serve all blockchain
66

77
Pythnet is powered by Solana technology: it runs the same validator software but is a Pyth-specific chain that is independent of Solana's mainnet.
88
The Pyth Data Association enables each data provider to operate one validator by delegating them the necessary stake.
9-
Once governance is live, it will take over the management of validators from the Pyth Data Association.
109

1110
The purpose of Pythnet is to provide a secure and reliable computing substrate for Pyth's price aggregation.
12-
Recall that Pyth's data providers submit their price measurements for each product.
11+
Recall that Pyth's data providers submit their own price measurements for each product.
1312
The Pyth protocol needs to combine these prices to produce a single aggregate price.
1413
This computation needs to be performed securely -- prices must be combined correctly -- and reliably -- so that accurate and up-to-date price information is always available for applications.
1514
Pythnet solves both of these problems.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ Price feeds also have different IDs in the Stable and Beta channels.
88

99
The full catalog of price feeds is listed on the [pyth.network website](https://pyth.network/price-feeds/).
1010
The [Price Feed ID reference](https://pyth.network/developers/price-feed-ids) also lets you identify a feed's ID in your chosen ecosystem.
11+
12+
## Solana Price Feed Accounts
13+
14+
On Solana, each feed additionally has a collection of **price feed accounts** containing the feed's data.
15+
The addresses of these accounts are programmatically derived from the feed id and a shard id, which is simply a 16-bit number.
16+
See [How to Use Real-Time Data on Solana](price-feeds/use-real-time-data/solana#write-frontend-code) for more information on price feed accounts.

0 commit comments

Comments
 (0)