AIAI-generated narration (synthetic voice) · real application footage
FundsXML in production · film 1 of 5
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.
FundsXML in production: how do the files get from one system into another, every day, reliably? In this film you see who sends what to whom, the delivery chain on both sides, how files travel, and the building blocks every production setup needs.
Start with the parties. The asset manager and the fund administrator produce most of the data: master data, prices, portfolios and regulatory templates. The custodian adds holdings and transactions. Platforms and distributors, insurers and data vendors receive. Many companies are on both sides: an insurer receives portfolios, and sends its own reports on. Each receiver needs a different part. Platforms and data vendors need prices and master data. Insurers need the full portfolio and the Tripartite Template for Solvency two. Distributors need the European MiFID and ESG templates, and documents. One sender therefore produces several kinds of deliveries from the same data.
On the sender's side, the chain has five steps. Extract the data from the source systems: fund accounting, portfolio management, master data. Map it to the FundsXML structure. Generate the file. Validate it, against the schema and against business rules. And deliver it to the receivers. Here is the whole chain on one page. The data rarely comes from one system. Net asset values come from fund accounting, positions from the portfolio system, identifiers and names from master data. A good setup collects them in one place first, often a database, where the data is checked once. From there, a generator writes the file each partner needs, it is validated, and it travels by SFTP, through an API or to a portal. Why one central place? Because the data is checked once and then used for every partner. Corrections are made in one place, and the history shows what was sent when. And every partner gets the same numbers, which avoids the classic problem of two receivers with two different net asset values for the same day. Follow one net asset value through the chain. At six in the evening, fund accounting calculates it. At eight, it is approved. At ten, the file is generated and validated, and a quarter of an hour later it is on its way. At seven the next morning, the platform has loaded it, and by nine, investors see the new price. Every step has a time, and every step can be late.
On the receiver's side, the chain mirrors the sender's. Receive the file. Validate it, before anything else. Load it into the own systems. Reconcile it: do the numbers fit together and with what you already know? And send feedback to the sender, especially when something is wrong.
How does the file travel? Most often by SFTP, on a fixed schedule. More and more partners offer an API. Fund platforms and data vendors often run their own portals. E-mail is still common, but it is hard to automate and to monitor, so it should be the exception. With SFTP, a few rules prevent most problems. Agree on file names that contain the sender, the kind of data and the date. Upload under a temporary name and rename the file when it is complete, so that the receiver never picks up half a file. Compress large files. And use keys per partner, never shared passwords. Fund data is often confidential, portfolios in particular. Transport is always encrypted. Where proof of origin matters, a FundsXML file can carry an XML signature; the schema supports it. Every file sent and received goes into an archive. And access to the data is limited to the people and systems that need it.
Different data has a different rhythm. Prices and net asset values go out daily, often with an agreed cut-off time, for example by ten in the morning. Portfolios are often monthly. Master data, documents and regulatory templates go out when they change. And corrections go out whenever they are needed. Each delivery is its own file, with its own document ID. Not every partner uses the same schema version. A sender often writes two or three versions at the same time, one for each group of receivers. That needs a clear list of which partner gets which version and which templates, tests for every version, and a plan for moving partners to a new version together.
Whatever the tools, every production setup needs five building blocks. A scheduler that starts the deliveries on time. Validation on both sides. An archive of every file sent and received. Monitoring that notices when a file is late or wrong. And a partner register that knows who gets what. Technology is only half of it. Someone must own the chain. The data owners answer for the content: whether a price is right, and who corrects it. Operations runs the daily deliveries and talks to the partners. And IT looks after the systems, the transfers and security. When these roles are clear, problems are solved in minutes instead of days. Some architectures cause trouble sooner or later. A separate script for every partner, each one a little different. Manual steps in the middle of the night. No archive, so nobody can say what was sent. Checks only at the receiver, so errors travel first. And no monitoring, so a missing file is noticed by the partner, not by you. Build or buy? Some companies build the chain themselves, with a database and scheduled jobs. Others use the data management or distribution platforms of specialised vendors, many of which speak FundsXML. A common middle way: a vendor for distribution, and the own checks on top. Either way, the building blocks stay the same. Every chain needs at least two environments. A test environment, where new partners, new versions and changes are tried with example data and test partners. And production, with the real partners. Both run the same code, but with separate data, separate keys and separate addresses, so that a test file can never reach a real partner. Plan the document IDs carefully, because everything downstream relies on them. An ID must be unique forever. A simple pattern works well: the supplier, the kind of delivery, the date and a sequence number. A resend of the same file keeps its ID; a corrected file gets a new one. Never reuse an ID, not even after years.
For the next films we use a complete example, published in the FundsXML examples repository on GitHub: a PostgreSQL database, a loader for FundsXML files and a generator back to FundsXML, with six sample deliveries and the files it writes for three partners. It is an example, not a product, but it shows the essential steps, and you can download it and run it yourself. That was the delivery chain on both sides. In the next film, you see how FundsXML data is stored in a database. 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.