AIAI-generated narration (synthetic voice) · real application footage
FundsXML for business · film 4 of 6
How the quality of fund data is secured with FundsXML: why a valid file is not yet correct data, the three levels readable, valid and plausible, what the schema checks and what business rules check, check digits of identifiers, checks on both sides, corrections and versions, and a data-quality report in FreeXmlToolkit.
Fund data is only useful if it can be trusted. In this film you see how FundsXML helps to secure the quality of fund data, and why a valid file is not yet correct data.
Wrong fund data is expensive. A wrong price reaches investors and platforms. A wrong weight distorts the risk figures of an insurer. A wrong cost figure ends up in a client report, and a wrong identifier attaches data to the wrong fund. Every error found late costs more: it has to be explained, corrected, and delivered again, often to many receivers at once.
FundsXML checks quality on three levels. First, the file must be readable: well-formed XML that any system can open. Second, it must be valid: it fits the FundsXML schema, with the right fields, data types and codes. Third, it must be plausible: business rules hold, for example portfolio weights add up, and identifiers have correct check digits. Each level catches different errors. What does the schema check? Every field in its place, and every required field present. Every value of the right type: a date is a date, an amount is a number. Codes from fixed lists, such as currencies, countries and asset types. And links inside the file: every position must point to a security that is described. All of this is checked automatically, in a second, by any standard tool. But a valid file can still be wrong. The schema cannot know that the weights of a portfolio should add up to about 100 percent. It does not see that a price times the number of shares should match the value of the share class. And it does not notice a valuation date in the future. For that, you need business rules.
Typical business rules for fund data: the weights of all positions add up to the whole fund. Position values match the net asset value. Identifiers like ISIN and LEI have correct check digits. Dates fit together: no valuation in the future, no price before the launch of a fund. And currencies are consistent, between a position, its security and the fund. Check digits deserve a special mention. The last digit of an ISIN, and the last two of an LEI, are calculated from the others. So a single typing error, or two swapped digits, is found at once, without asking anyone. It is the cheapest check there is, and it prevents data from being attached to the wrong fund or company. Where do these rules come from? The schema is published with every FundsXML version, and it is binding for everyone. On top of it, there are common quality rules, published openly, for example in Schematron, a standard language for such rules, and built into tools. And then there are your own agreements with each partner: which optional fields must be filled, which codes are used, and which tolerances apply. Write them down, and check them automatically too.
Tools do these checks for you. Here is a FundsXML delivery in FreeXmlToolkit. One click in the FundsXML panel runs more than fifty data-quality checks on the open file. The report lists every check, and whether it passed or found something to look at. A receiver can run the same checks, so both sides talk about the same findings, with the same words. Run it before every delivery, and keep the reports: they show how the quality develops over time.
Checks belong on both sides. The sender checks every file before it leaves the house: against the schema, and against the business rules. The receiver checks it again before loading it into its systems. Errors found by the receiver go back to the sender quickly, with a clear description. And both sides keep a set of test files, good and bad, that every change is tested against.
And when something was wrong after all? FundsXML has a clean way to correct it. A correction is a new delivery of its own, marked as an amendment, that names the delivery it corrects. Nothing is overwritten silently. The receiver can see what changed, and when, and an auditor can follow the whole history later.
Quality can be measured. Count the deliveries that passed all checks the first time. Count the findings per check, and watch which ones keep coming back. Track the corrections, and how long it takes from a finding to a corrected delivery. Share these figures with your partners: they turn a feeling about bad data into facts you can improve. The result is trust. Errors are found where they are cheapest to fix: at the source. Receivers can rely on data from many fund houses. Disputes become shorter, because both sides use the same checks. And data quality can be measured over time, delivery by delivery. That was quality and control with FundsXML. In the next film, you see how a FundsXML project runs, from the first idea to daily operation. Thanks for watching.
Why the fund industry needs a common data format: how fund data travels between asset managers, administrators, custodians, distributors, insurers, data vendors and regulators; what goes wrong without a standard; how regulation drives the need for structured data; and how FundsXML, an open standard made by the fund industry, answers it.
What a FundsXML delivery carries, in business terms: fund and share class master data, net asset values and prices, portfolios and holdings, transactions and distributions, documents, country modules and regulatory data. Why static and dynamic data are kept apart, typical kinds of deliveries, and a look into a real file.
How FundsXML carries the European regulatory templates: why regulation needs structured fund data, the roles of FinDatEx and FundsXML, the templates EMT (MiFID II), EPT (PRIIPs), EET (SFDR and ESG), TPT (Solvency II look-through) and EFT (feedback from distributors), who sends what to whom, template versions, national reporting and the European Single Access Point.
How the quality of fund data is secured with FundsXML: why a valid file is not yet correct data, the three levels readable, valid and plausible, what the schema checks and what business rules check, check digits of identifiers, checks on both sides, corrections and versions, and a data-quality report in FreeXmlToolkit.
How a FundsXML project runs, from the first idea to daily operation: scope, mapping, prototype and pilot, testing, go-live and operations; the roles involved, typical pitfalls, what is available free of charge, how versions and the standard evolve, and how to take part.
How FundsXML evolves and how to take part: who decides about the standard, the FundsXML Standards Committee and the three working groups (Content & Technique, Promotion, Documentation), associate and full membership, contributing on GitHub, the path of a change request from proposal to a new version, small and large changes, and what makes a good change request.
Set up a free working environment for FundsXML: turn on the FundsXML extension of FreeXmlToolkit, choose the schema version, get to know the FundsXML panel and its tools, read the schema's documentation of any element, open the schema itself, and start from an official example file. Also: why FundsXML needs an XSD 1.1 validator, and the two forms in which the schema is published. With an overview of other tools: command line validators, IDEs and the online documentation.
How a FundsXML document is built: the root element FundsXML4, its main blocks (ControlData, Funds, AssetMasterData, Documents, RegulatoryReportings, CountrySpecificData), and ControlData in detail: document ID, timestamps, schema version, content date, data supplier, and the data operations INITIAL, AMEND and DELETE with related document IDs. With common pitfalls. Includes turning a delivery into a correction in FreeXmlToolkit.
The fund part of a FundsXML document: fund identifiers and names, SingleFundFlag with single funds and umbrellas, FundStaticData and FundDynamicData, the total net asset value, share classes with prices, shares outstanding and amounts in several currencies (AmountType with ccy), action codes, and checking ISIN and LEI check digits in FreeXmlToolkit.
The portfolio part of a FundsXML document: positions with their value and weight, the instrument-specific block (equities, bonds, fund units, options, FX forwards, cash), the link from a position to its asset in AssetMasterData through UniqueID (xs:ID and xs:IDREF), a broken link found by the schema, portfolio breakdowns, and how fund-of-fund look-through is modelled.
How FundsXML records what moved in a fund: subscriptions and redemptions of investors (Flows on the share class), distributions (Distributions), income from the portfolio (Earnings) and the portfolio's own trades (Transactions), with reporting periods, dates, amounts in several currencies and the links to the assets. Also: how switches are reported, and what the core schema leaves to other standards.
How the FinDatEx templates sit in a FundsXML file: RegulatoryReportings with DirectReporting and IndirectReporting, an EMT V4.2 block (data set information, general information, target market, ex-ante costs) and a TPT V7 block for Solvency II (portfolio data, positions with CIC codes and valuations), template versions as their own elements, and how country-specific data and custom attributes extend the standard.
How FundsXML carries documents such as prospectuses, PRIIPs KIDs and factsheets: the Documents block, document types, languages and countries, the assignment to funds and share classes, format, signature and dates, delivery as a link or embedded as base64, replacing and restricted documents, and the Documents tool of FreeXmlToolkit to save embedded documents and embed new ones.
Validate a FundsXML delivery in two stages: against the XSD 1.1 schema, reading and fixing its error messages, and against business rules with the FundsXML data-quality checks of FreeXmlToolkit. With the data-quality report, a catalogue of typical schema errors, Schematron rules, and validation on the command line and in build pipelines.
Work with the data in a FundsXML file: XPath paths without a namespace, the ready-made FundsXML queries in the Query Console of FreeXmlToolkit (the ten largest positions as a table), an XSLT stylesheet that turns the positions into CSV, a large file read as a stream in Python with lxml (half a million positions with flat memory, from the FundsXML examples), classes generated from the schema, and the way on to a database.
How FundsXML runs in production: who sends what to whom, the whole delivery chain on one page (sources, central database, generator, validation, SFTP, API and portals), the chains of sender and receiver, security, rhythms and schema versions, the five building blocks of a production setup, roles, build or buy, two environments, document IDs, and the complete example used in this series, which can be downloaded.
How FundsXML data is stored in a database, with the complete PostgreSQL example of the FundsXML examples repository: the XML column and shredded tables, layers, a table model in which everything that repeats is a row (several funds per file, umbrellas and subfunds, several NAVs per day and currency, portfolios and positions, look-through), keys and assets without an ISIN, amounts and currencies, code lists, dates, transactions in four places, documents, regulatory templates, history and corrections, views, quality, access and performance. All files can be downloaded.
How FundsXML files get into a database safely, with the loader of the complete PostgreSQL example: the steps of a robust loader, a landing folder, cheap checks first, triggers, validation and schema versions, idempotency through the UniqueDocumentID, full and delta deliveries, streaming large files with one handler per repeating element, funds and subfunds, the order of assets and positions, asset keys, transactions, documents and regulatory templates, business rules, speed, six deliveries and four broken files at work, corrections and deletions, reconciliation, code checks, error reports, tests and release. All files can be downloaded.
How to produce FundsXML from a database, with the generator of the complete PostgreSQL example: start with the target file, a mapping table, a partner register that says which data goes to whom, templates, XSLT or generated code, ControlData, writing share classes, several funds and dates in one file, element order, empty elements and formats, validation in FreeXmlToolkit, corrections, large deliveries, several schema versions, partner configuration, time windows, golden files, CI and the round trip, handing over, resends and documentation. All files can be downloaded.
What daily operation of a FundsXML chain needs: a day in operations, monitoring and a delivery overview, duty and runbooks, error classes and incident handling with an example, reconciliation, feedback, agreements with partners, onboarding, changes in the partner landscape, security, schema upgrades, the archive, metrics, people, reporting, typical first-year issues, a checklist, and staying involved in the standard.