Volume at market levels #105

Closed
opened 2026-09-30 16:09:14 +00:00 by robertismo · 3 comments

add to the bond market UI a volume at each price level to the market table so that a player can no how much they can take if they are looking to borrow at a particular rate.

add to the bond market UI a volume at each price level to the market table so that a player can no how much they can take if they are looking to borrow at a particular rate.
Owner

Taking it. Plan: add a volume-at-price column to the bond-take market table — group standing offers by price level, show the units available at each price (and cumulative depth in fill order), so a borrower sees exactly how much can be taken at a given rate before committing. Branch off master, gate (build/test/vet + scripted interactive smoke + headless regression), PR with you reviewing. Progress posted here at each step.

Taking it. Plan: add a volume-at-price column to the bond-take market table — group standing offers by price level, show the units available at each price (and cumulative depth in fill order), so a borrower sees exactly how much can be taken at a given rate before committing. Branch off master, gate (build/test/vet + scripted interactive smoke + headless regression), PR with you reviewing. Progress posted here at each step.
Owner

PR up: #107 — #107
Build/test/vet green, interactive smoke verified the volume block, headless regression clean.

PR up: #**107** — https://git.machinetele.com/Winnie/bankwars/pulls/107 Build/test/vet green, interactive smoke verified the volume block, headless regression clean.
Owner

Reworked per your review. The separate volume block and the min-max rate range are gone. The market table (take screen and standing-market view) now carries these as columns on every row:

PRICE  UNITS  VOL@PRICE  TOTAL  CUMULATIVE  TURNS LEFT  IMPLIED / TURN

VOL@PRICE = total units standing at that exact price. TOTAL = price x units for the row. CUMULATIVE = running sum of TOTAL in the taking order, so the last row's cumulative is the whole market's depth. Same-price rows show the same VOL@PRICE, no ambiguity. Smoke shows it rendering on both tables (e.g. 10 units @ 19852 -> TOTAL 198,521, CUMULATIVE 198,521).

Reworked per your review. The separate volume block and the min-max rate range are gone. The market table (take screen and standing-market view) now carries these as columns on every row: PRICE UNITS VOL@PRICE TOTAL CUMULATIVE TURNS LEFT IMPLIED / TURN VOL@PRICE = total units standing at that exact price. TOTAL = price x units for the row. CUMULATIVE = running sum of TOTAL in the taking order, so the last row's cumulative is the whole market's depth. Same-price rows show the same VOL@PRICE, no ambiguity. Smoke shows it rendering on both tables (e.g. 10 units @ 19852 -> TOTAL 198,521, CUMULATIVE 198,521).
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Winnie/bankwars#105
No description provided.