There is no order-book depth, only a single execution price
Los mantenedores suelen responder en 1 día
@deslawson ya está trabajando en esto.
Desde el 16/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Background
/price/:assetA/:assetB/depth simulates one trade of one size and returns its slippage. src/pricing/depth.ts already builds asks and bids arrays internally. What no route exposes is the book itself — the ladder of price against cumulative size that anyone sizing a position actually needs.
What to build
GET /book/:assetA/:assetBreturning aggregated levels across every venue, each level naming the venues contributing to it.- AMM reserves become synthetic levels at a configurable step; order-book levels come through as they are. Both are labelled, because they behave differently under size.
- A
depthparameter bounding how far from spot to walk.
Acceptance criteria
- Aggregated levels with cumulative size, per side
- Every level names its venues and whether it is synthetic
-
?network=honoured and declared - A test covers a pair quoted by an AMM and an order book together
Drips Wave · Complexity: Intermediate · 150 points
Repo: Divinity-Labs/Lens. Node + Fastify + Prisma + Postgres. Tests are vitest (npm test), not jest — jest against this repo fails every file and tells you nothing.
?network= is not optional on a new route. Every row carries a network and the indexes lead with it. Read req.network ?? activeNetwork, filter on it, echo it in the response, and declare the parameter in openapi.yaml. tests/openapi.test.ts boots the server and fails if a registered route is missing from the spec.
A number without provenance is not an answer. Every figure this batch adds must carry what it was computed from: which venues, how many samples, how fresh. The point of Lens is that its numbers can be checked.
Never elide a contract id or an issuer. Take addresses from the protocol's own documentation and write them whole. A sibling repo's issue wrote CD2W5LUR…XZ4L and five contributors invented plausible contract ids to fill the gap.
Say when you cannot answer. An asset with no liquidity, a pair with one venue, a window with a gap — each has an honest answer that is not zero and not a 500. Zero is a number people act on.
Required: Before submitting, join the contributor Telegram so your work can be tracked and counted toward the Stellar Wave: https://t.me/+fxHXq8f1SwlkZDBk
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 71
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 28
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Divinity-Labs/Lens
-
area:reliability difficulty:easy help wanted points:100 Stellar Wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Divinity-Labs/Lens#341 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Startup does not verify the database schema matches the codePosiblemente ocupada @titankrypt-gif la tomó hoy. Abiertoarea:database difficulty:advanced help wanted points:200 Stellar Wave
Divinity-Labs/Lens#352 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Ingester loops have no upper bound on a single cyclePosiblemente ocupada @felixumeh la tomó hoy. Abiertoarea:ingest difficulty:intermediate help wanted points:150 Stellar Wave
Divinity-Labs/Lens#351 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
There is no runbook for the servicePosiblemente ocupada @felixumeh la tomó hoy. Abiertoarea:docs difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#350 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
The MCP server's upstream call has no deadline and no error handlingPosiblemente ocupada @Wittig18 la tomó hoy. Abiertoarea:mcp difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#349 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de Divinity-Labs/Lens
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
anomalyco/opencode#56380 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
BUG | `MCP 服务器` | 全局层行的停用/启用与删除报 404 server row not found,编辑保存会在 profile 层复制出重复行Posiblemente ocupada @w6242652 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Chocobozzz/PeerTube#7832 ·
Los mantenedores suelen responder en 3 días
-
Pay to use?Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
darkreader/darkreader#16108 · 1 comentario ·
Los mantenedores suelen responder en 2 días