API documentation
Holdings by group
Stonewake adds up what your bank holds of each group. The positions of your depots, the lines of each of your funds and the companies in your book are counted side by side for every group and are never mixed. In the dashboard the view sits on the portfolio page under Groups.
What a group is here
A group is what the public consolidation records of the LEI system state. For each company Stonewake reads the ultimate parent its LEI record names. Where the record names none, it follows the chain of direct parents to its top. A branch is the same legal person as its head office and belongs to the head office's group. Its basis reads head_office, however far the records go on above the head office. Where a branch's own record also names a parent, the branch belongs to that group only if the parent leads to the same top. Where it leads elsewhere, the records disagree about the branch. It stands alone, its basis reads parents_disagree, and it is never added to its head office's group. Only current links of the LEI records count, and a link that ended groups nobody.
A record that names no parent can still say why. Where it states that no parent consolidates the company, because its owners are not subject to consolidation, natural persons control it or nobody is known to control it, the company is its own group, and so is a company whose record states nothing. Where it states that a parent exists which it does not name, because the parent has no LEI or the relationship is not public, the company is not called its own group. Its basis reads parent_not_named, and what you hold of that group cannot be added up completely here, because the records do not say who else belongs to it. The same holds for a company whose record names its direct parent and states an ultimate parent it does not name. It stands with the parent that is named, in that parent's group, or, if it is a branch, with its head office, and its basis still reads parent_not_named, whatever the records above it state. The reason the record states is served in basis_reason. A group that holds such a company says so on its own row, where its sums stand, and on the line of a depot or a fund that names it.
Where the records name two different parents for one company, or name for a branch a parent that leads to another top than its head office, the walk stops at the last company they agree on. Where they lead back to where they started, or a chain of parents is longer than any on record, the company stands alone. In each case the answer says so in basis, and nothing is guessed.
This is what the registers state about accounting consolidation. Your bank's own group of connected clients is your bank's determination and may be wider. Stonewake names the records and leaves that determination to you.
What is added up
| Column | What it counts |
|---|---|
| Held directly | The positions of your depots whose issuer belongs to the group, and how many depots hold one. |
| Through funds | For each of your funds, its lines whose company belongs to the group and the sum of their weights in percent of that fund. A weight is a share of the fund and never an amount. |
| In the book | The group's companies in your book of monitored companies, and how many of them no position and no fund line names, for example a borrower. |
The weakest standing among the group's companies you hold stands on the group, and the list puts the weakest group first. A line that is not matched to an issuer belongs to no group and is counted on its own depot or fund. A company whose own law names who is liable for what it borrows shows that guarantor under its name, as Own securities describes it.
Amounts appear where your depot file states them, unless the option was switched off for your workspace, see Amounts in Own securities. A group then also shows the market values of the positions you hold directly, added up per currency. For a fund your depot holds by its ISIN it shows what the group's lines stand for in the market value of that position, the sum of their weights as a share of it, and both together. A fund you hold counts in full under the fund's own group and its lines count under their issuers' groups, so the sums of two groups are never added.
A sum adds only the market values that are stated. A group whose sums leave something out carries the mark Not complete and says how many of its positions state no market value and for how many of its funds the full market value of your position cannot be read from your depots. A fund shares a value only where a depot of the same team holds it by its ISIN and every such position states its market value. So a fund keyed by its LEI, a fund no depot names, a fund whose depot line states an ISIN that fails its check and a fund with a position without a market value share none, and each of them stands in the row without a share. What of a fund belongs to no group, its lines matched to no issuer and the part its delivery states no line for, stands under the groups in Fund weight in no group, with its share of your position where your depots state its value, so the weights over the groups add up to each fund.
Every line of a depot and of a fund also names its group in group, with the company at the top and how it was found. See Own securities and Fund look through.
How a group was found
The field basis reads one of these words.
| Basis | Meaning |
|---|---|
ultimate_parent | The ultimate parent the LEI records name, in the company's own record or in the record of a parent above it. |
direct_parent | The top of the company's chain of direct parents. |
head_office | The company is a branch. Its group is its head office's, also where the head office has parents of its own. |
own | The records state that no parent consolidates the company, or state nothing. The company is its own group. |
parent_not_named | The records state a parent they do not name, in the company's own record or in one above it. What you hold of that group cannot be added up completely here. |
parents_disagree | The records name two parents, or name for a branch a parent that leads to another top than its head office. The walk stopped at the last company they agree on. |
parents_loop | The records lead back to where they started. The company stands alone. |
chain_cut | The chain of parents is longer than any on record. The company stands alone. |
The field basis_reason reads the reason an LEI record states for naming no parent, where it explains the basis, else null. On own it is the company's own record that states it. On parent_not_named it is the first record on the way up that states a parent it does not name, the company's own where it states one.
| Reason | On basis | Meaning |
|---|---|---|
NON_CONSOLIDATING | own | The company's owners are not subject to consolidation. |
NATURAL_PERSON | own | Natural persons control the company. |
NO_KNOWN_PERSON | own | Nobody is known to control the company. |
NO_LEI | parent_not_named | The parent has no LEI. |
NON_PUBLIC | parent_not_named | The relationship is not public. Older records state this in one of five older codes, which read the same. |
The workbook
Download workbook above the groups saves what the page shows as an Excel workbook. One sheet holds one row a group with its sums, one holds each group's funds with their lines and weights, and one holds one row a company of a group with its LEI, its class, how its group was found and its standing. Two more hold the positions and the fund lines that name each company, each row led by its group and its company. A code in a cell reads as the word the page shows for it, and the words, the headers and the names of the sheets read in English or in German. The last sheets list what of each fund belongs to no group. It reads the team the page reads. Each download is written to your audit log as report_generated with the number of groups and of companies.
Over the API and MCP
GET /v1/portfolio/groupslists the groups your team holds something of, the weakest group first, paged bylimit(default 50, maximum 100) andoffset. Each group states underbaseshow the groups of its companies were found, each basis once. Whereparent_not_namedis among them, what you hold of that group cannot be added up completely here, and the page marks that row. With amounts on,positions_without_market_valueandfunds_without_market_valuesay how many of your direct positions state no market value and how many of the funds underfundsshare none.total_market_valuesleaves those out, so where either is above 0 the sums are not complete, and where a group has no sum both fields are absent. Beside the groups,funds_outsidelists each fund of which something belongs to no group, withweight_unmatched,weight_not_statedand, with amounts on, their share of your position inmarket_values.GET /v1/portfolio/groups/{group_id}serves one group with its companies weakest first, each with its LEI and class, its guarantor by statute where its own law names one (guarantor, orguarantor_withheldwhere every line you hold of it is ranked below senior), itsbasisandbasis_reason, its standing in your book, the positions you hold of it directly indirectand the lines of your funds that name it inthrough_funds.group_idis the node id of the company at the top. A group your team holds nothing of answers 404.GET /v1/portfolio/groups/workbook.xlsx?locale=dedownloads the groups of your team as a workbook, under the reports scope like every document of the API.- The MCP tool
portfolio_groupsreads the same, andreport_downloadsnames the path of the workbook for the subjectgroups, which takes no id.