InFondos

preview

InFondos is a web app that visually presents structured data from the CNMV (equivalent to 13F filings in the US). Drawing from similar concepts as those used by Dataroma, InFondos extends this approach to encompass the entire universe of funds and SICAVs in Spain.

Its main features are:


Technical implementation

Utilizing AWS Lambda functions, web scraping is performed on CNMV data to obtain a complete list of funds, including their internal IDs. With this information, additional web scraping is performed to generate (and download) semiannual XML files with data for all the funds.

This data is processed and combined with OpenFigi data to obtain tickers and information about the funds’ holdings, as this information is identified only by an ISIN code in the original data. This information is structured and inserted into SQLite for easier analysis. Later, using other AWS Lambda functions, this structured data is processed and loaded into DynamoDB:

How data is processed and loaded

To access the data stored in DynamoDB, an API was deployed with AWS API Gateway. This enables the web application, which consists of only three dynamically loaded pages (Fund, Position, Landing), to display content based on the data returned by the API. The API triggers auxiliary AWS Lambda functions that query the data from DynamoDB.

The website hosting was set up on Cloudflare, as the domain was purchased there and they offer free firewall rules, cache, and rate limiting. The REACT application was deployed using AWS Amplify due to its simplicity:

Web architecture