Chartsv26.10.18
Kits

Balances table layouts

A generated depository book rendered by nine table layouts - SID, accounts, sub-balances, settlement agent, broker, paging and aggregation - plus a chart card over the same book.

The balances section puts the table layer on a worked book: a single investor id (SID), its depository accounts and the sub-balances inside an account. Every account names a settlement agent and a broker, and the TRAD sub-balance is the part a broker holds for trading.

The book is generated and deterministic: 1 000 owners (companies, funds and individuals), 1 450 accounts, 3 950 sub-balances and 500 US instruments - 240 stocks, 60 ETFs and 200 corporate bonds - with amounts in USD. The pages below are live: the theme switch, paging, search and the aggregation table all work inside the frame.

The book

LevelWhat it holds
OwnerSID, legal form, tax id, total quantity, nominal and market value, trading value
AccountAccount number, type (owner, nominee, trust manager), settlement agent, broker, open date
Sub-balanceAVAI available, TRAD trading with the broker, BLOK blocked, PLED pledged, TRUS trust, REPO repo, NAVL encumbered
PositionTicker, ISIN, issuer, quantity, nominal value, market value

Amounts are in USD; shares carry a nominal of 0.01, bonds and T-bills a nominal of 1 000.

Owners, accounts, instruments, settlement agents and brokers carry a status: active, suspended or archive. The sub-balance status follows its type (available and trading are active, blocked, pledged and repo are suspended, encumbered is archived). Quantity, opening quantity, closing quantity and the three face amounts of fixed income are separate columns, never one cell; exports carry the same fields.

Layouts

LayoutWhat it answers
SpineThe statement shape: owner group, accounts and sub-balances on one coloured spine
LaneWhat an account is made of, one row per account, with a filter by sub-balance
MatrixHow much of an instrument is free, trading, blocked or pledged
CardsThe investor whole: accounts, sub-balances and positions in one card
LedgerThe balance of a settlement agent, a broker or an owner as a subtotal
Agent matrixThe settlement agent as a column, with the trading part inside the column
BoardAgents, accounts and the account detail in three linked panes
StatementOne printable account statement per page
TreeOne workplace over the book: a four-level tree, a pivot of instruments by sub-balance, a flat list and a split view, with the aggregation table as the left navigator
InsightNot a table: sparklines, share bars, a composition strip, a baseline, a heat pivot and an instrument card over the same book

The aggregation table also acts as a filter on every layout, not only on the tree: a row picked there narrows the page to one owner, to the accounts that hold one ISIN, to the accounts of one settlement agent or broker, or to one sub-balance, and a Clear filter button next to the table brings the whole book back.

The ISIN cut

The instrument itself is present in every layout: a position line in the spine and card layouts, the ISIN column of the lane detail, the board detail and the statement, the row identity of the matrix layouts, an account expansion in the ledger and the fourth level of the tree. The aggregation table adds a separate Instrument (ISIN) cut with the quantity, market value, trading value and owner count of each of the 500 instruments; its search matches ISIN, ticker and issuer.

One workspace, four views

The tree layout is a workspace: the same book can be read as a four-level tree, as a pivot (instruments as rows, sub-balances as columns, switched between quantity and market value), as a flat list (instrument + account + status with a share of the instrument) and as a split view (instrument list on the left, its book on the right).

Qty | Value selects the measure. Value is the market value in USD. Qty is the quantity in pieces, and for fixed income it adds the face amount: nominal times quantity. Every value owns a column - Quantity, Open Qty, Close Qty always, and Face Amnt, Open Face, Close Face in the Qty measure for fixed income (other asset classes show -). Nothing is stacked inside one cell. Nominal is dropped in the Qty measure because it repeats the face amount of a bond and is a few cents for a share. The pivot keeps one amount per sub-balance cell and carries Curr Face Amnt, Open Face Amnt and Close Face Amnt in the cell tooltip; the CSV always writes the separate columns quantity, open_quantity, close_quantity, face_amount, open_face and close_face.

The aggregation table is moved to the left as a navigator: a row picked there narrows every view, and the filters, sorting and view state are shared. Under the tabs the navigator shows the statuses of the active cut (active, suspended, archive) and filters every view by them; the whole column can be hidden and brought back. Each view stays a single table, Pivot rows open Split on that instrument, the split list works with the arrow keys, and Export CSV follows the active view. Pivot keeps a dedicated ISIN column on the right of the sub-balances.

Fields opens a chooser with every column of the current measure: quantity, opening and closing quantity, the three face columns of fixed income, nominal, trading, market value and share. Unticking a column removes it from the tree, the flat list and the split detail at once - header, rows and footer stay aligned - and Show all brings the full set back. The choice is kept with the rest of the view and survives a reload. The pivot has no optional columns, because its columns are the sub-balances.

Pivot shades each cell with the colour of its sub-balance and an intensity that follows the displayed amount (market value in Value, quantity or face amount in Qty), against the largest cell of the column. The flat list draws the share of the instrument as a bar inside its cell, and Split opens the instrument card: territory fields (ticker, ISIN, issuer, asset class, type, sector, rating, maturity, price, positions, face amount), a 90-day candle history with the last price line, the market profile of the price at its right and the delta of every day under the candles; hovering the price turns the readout into that day.

Charts on top of the book

The tenth card, J - Book insight, is an add-on rather than a table layout: it shows every place of the workspace that can carry a picture.

  • a 30-day sparkline and a share bar inside an owner row, with a hover reading of the window;
  • the composition strip of the sub-balances as a stacked area, one band per code, last day equal to today;
  • the net change of the book against the first day of the window, drawn as a baseline with gains above zero and losses below;
  • a pivot with heat: instruments as rows, sub-balances as columns, the intensity of each cell follows market value;
  • an instrument card with a 90-day candle history, its market profile at the right of the price and the delta of every day underneath, plus a list of instruments with sparklines;
  • a flat list where the share of the instrument is a bar in the cell.

Charts read the design tokens of the kit and repaint on a theme switch without rebuilding the page; the demo series are generated from the same seeded book, so a reload gives the same picture.

Filters, sorting and grouping

Every layout carries the same filter bar: asset class, currency, instrument type, sector, rating, a row of sub-balance status chips and a Show zero balances switch. A filter narrows the positions first, so the owner, account and section totals always add up to what is visible on the page.

Sort orders the rows by market value, quantity, nominal or name. Group by exists on the tree and swaps its third level between sub-balances, asset class, issuer, sector, instrument type, rating and maturity. It stays one table: the third column header and the panel title follow the chosen level, and nothing splits into a second table.

The view - filters, sort, grouping, expanded branches, measure, hidden columns, page and page size - is kept per layout in the browser, so a reload returns to the same picture and Reset view brings the defaults back. The workspace always opens on the tree table: the four representations answer different questions, so the opening screen stays the book itself, and Pivot, Flat list and Split are one click away. Export CSV writes the current view with the expanded branches of the visible page: a collapsed node is one summed row, an open node is its children.

Controls

  • Paging on every layout, with a page list and a jump box; the tree and the aggregation tables offer 10, 20, 50 or 100 rows per page.
  • Search by SID, owner name, account number or instrument, depending on the layout.
  • Dark and light palettes; colours and metrics come from the design tokens of the kit.
  • The aggregation table groups by owner, instrument (ISIN), settlement agent, broker and sub-balance.
  • Zero balances are hidden until switched on; fractional quantities keep their decimals, negative amounts show in parentheses and a missing rating or maturity is shown as -.
  • Quantity, opening quantity and closing quantity are separate columns, and the Qty measure adds the face amount, the open face amount and the close face amount of fixed income as their own columns.
  • Fields hides or shows any column of the tree, the flat list and the split detail; Show all restores the defaults and the choice is remembered in the browser.
  • The pivot shades its cells by amount, the flat list shows the share as a bar and the split view carries the instrument card with price, market profile and delta.
  • The statement layout prints one account per page.

The widget behind the layouts is documented in the Table kit.

On this page