L0: Add simple-amm-lp YAML preset (#30)#32
Conversation
|
@abhicris Let me know what additionally needed? |
|
Welcome to kcolbchain, @sanrishi — glad you're here. 🌱 Here's what happens from this PR:
While you wait:
What happens after your first merge
Thanks for writing the code. We're building this to last. |
|
🤖 Audit verdict: Path traversal vulnerability: preset name is not validated to stay within presets/ directory, allowing relative paths to escape. Risks flagged:
Audited by the kcolbchain PR pipeline. See pipeline docs. |
|
Your PR was selected as the winning submission for this issue — great work! However, it now has merge conflicts with main (from other recently merged PRs). Could you please rebase against main and force-push? We'll merge as soon as the conflicts are resolved. Thank you! |
|
@Pattermesh you can merge this now and tell where to get 10usdc? |
|
@Pattermesh Are you gonna doing this something or I can close? |
Summary
Adds a new simulation preset for a simple AMM liquidity provider strategy.
Changes
New files
Modified files
un.py* — Added --preset \ and --list-presets\ CLI arguments. The existing
un_simulate\ function body is unchanged.
Preset parameter overview
Usage
\
python run.py --list-presets
python run.py --preset simple-amm-lp --simulate
\\
Scope note
This PR is strictly scoped to the preset system. The pre-existing import errors in
un.py\ (three missing class imports) are wrapped in a \ ry/except\ to allow the module to load, but the
un_simulate\ function body and all other code is left entirely untouched.
Closes #30