`liquidity` is a column with no definition
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Background
src/routes/screener.ts sorts and filters on liquidity and nothing documents what it is. The same file already carries a scar from this: market_cap was once a copy of liquidity and the route now refuses it with an explanation. The remaining field has the same problem one step removed — a caller filtering liquidity >= 1000 has no idea what they asked for.
What to build
- Define it, in the docs and in the spec: which reserves, valued in what, at which price, summed over which venues.
- If the stored value does not match the definition, fix the value, not the definition.
- Name the unit in the response.
Acceptance criteria
-
liquidityis defined in the spec with its unit and its sources - The stored value matches the definition, with a test
- The response names the unit
- Any change to the number is called out in the PR
Drips Wave · Complexity: Easy · 100 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
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 71
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Divinity-Labs/Lens
-
area:reliability difficulty:easy help wanted points:100 Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Divinity-Labs/Lens#341 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Startup does not verify the database schema matches the codeCó thể đã có người làm @titankrypt-gif đã nhận hôm nay. Đang mởarea:database difficulty:advanced help wanted points:200 Stellar Wave
Divinity-Labs/Lens#352 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Ingester loops have no upper bound on a single cycleCó thể đã có người làm @felixumeh đã nhận hôm nay. Đang mởarea:ingest difficulty:intermediate help wanted points:150 Stellar Wave
Divinity-Labs/Lens#351 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
There is no runbook for the serviceCó thể đã có người làm @felixumeh đã nhận hôm nay. Đang mởarea:docs difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#350 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The MCP server's upstream call has no deadline and no error handlingCó thể đã có người làm @Wittig18 đã nhận hôm nay. Đang mởarea:mcp difficulty:easy help wanted points:100 Stellar Wave
Divinity-Labs/Lens#349 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Divinity-Labs/Lens
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Chocobozzz/PeerTube#7832 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Pay to use?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
darkreader/darkreader#16108 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add: Dak Nong TV SDĐang mởcheck:passed streams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug engine
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
frostney/GocciaScript#1746 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
agilepathway/label-checker#739 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày