Add price aggregation documentation for Pyth Pro (Lazer) #942
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a new documentation page explaining the price aggregation algorithm used by Pyth Pro (formerly Lazer). The page describes how Pyth Pro aggregates price data from multiple publishers to produce aggregate prices, best bid/ask spreads, and confidence intervals.
The page covers:
Type of Change
Areas Affected
pages/price-feeds/pro/price-aggregation.mdx(new file)pages/price-feeds/pro/_meta.json(added navigation entry)Checklist
npm run lintto check for linting errors (passed with pre-existing warnings only)Related Issues
Requested via Slack thread: https://dourolabs.slack.com/archives/C02HJ4TFLN8/p1762861551140699
Additional Notes
Important for Reviewers:
Verify technical accuracy: The aggregation methodology was provided via Slack message. Please verify that the algorithm description matches the actual implementation, particularly:
Example scenario: The example with 5 publishers and BTC/USD prices includes manual calculations. Please verify these are mathematically correct.
No images included: Per user request, this page does not include diagrams like the Pyth Core price aggregation page. Consider whether visual aids would improve clarity.
Navigation placement: The page is added under "Understanding Pyth Pro" section after "How Pyth Pro Works". Confirm this is the appropriate location.
Contributor Information