Conversation
- Add /prop-amm route with new simulation engine - Implement golden-section arbitrage and order routing - Add 4 built-in strategies (500, 100, 30, 10 bps) - Create PropCodePanel and PropMarketPanel components - Add variable normalizer (30-80 bps, 0.4-2.0x liquidity) - Support wider volatility range (0.01-0.70% per step) - Track implied fees from trades instead of explicit fees
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This reverts commit 3fdb7ea.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds a new visualization mode for the Prop AMM Challenge at
/prop-amm.Key Differences from Original
(bidFee, askFee)output_amountdirectlyNew Files
lib/prop-sim/- Simulation engine, math, typeslib/prop-strategies/builtins.ts- 4 built-in strategiesworkers/prop-simulation.worker.ts- Web workerapp/prop-amm/page.tsx- New routecomponents/PropCodePanel.tsx- Rust code displaycomponents/PropMarketPanel.tsx- Market metrics with normalizer configBuilt-in Strategies
Metrics
Preview
Access at
/prop-ammafter deployment.Ref: Prop AMM Challenge Spec