slippage-modeling
CommunityOptimize trades by modeling execution costs.
Authoragiprolabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps traders accurately estimate the true cost of executing trades on decentralized exchanges, including price impact, fees, and MEV, to make informed decisions about trade size and strategy.
Core Features & Use Cases
- Slippage Estimation: Calculate price impact based on trade size and AMM liquidity.
- Cost Modeling: Aggregate all execution costs (fees, priority fees, MEV) into a total cost.
- Optimal Sizing: Determine the maximum trade size for a given slippage tolerance and recommend multi-tranche execution for large orders.
- Use Case: Before executing a large buy order for a mid-cap token, use this Skill to understand the total cost in SOL, determine the optimal number of tranches to minimize slippage, and calculate the minimum price movement required to break even.
Quick Start
Estimate the execution cost for a 5 SOL buy trade of the token with mint address 'YOUR_TOKEN_MINT_ADDRESS'.
Dependency Matrix
Required Modules
httpx
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: slippage-modeling Download link: https://github.com/agiprolabs/claude-trading-skills/archive/main.zip#slippage-modeling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.