Background
Bots need more than a spot price — they need to know how much a given trade size will move the price. A depth/slippage endpoint answers "what price for size X?".
What to build
From order-book / AMM pool data, expose an endpoint that returns expected execution price and slippage for a requested trade size, plus available depth at price levels.
Key files
src/pricing/depth.ts (new)
src/api/rest.ts
Acceptance criteria
Drips Wave · Complexity: Advanced · 200 points
End of catalog (232 issues)
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk
Background
Bots need more than a spot price — they need to know how much a given trade size will move the price. A depth/slippage endpoint answers "what price for size X?".
What to build
From order-book / AMM pool data, expose an endpoint that returns expected execution price and slippage for a requested trade size, plus available depth at price levels.
Key files
src/pricing/depth.ts(new)src/api/rest.tsAcceptance criteria
End of catalog (232 issues)
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk