User Stories

Helaba Invest Develops and Deploys Enterprise Financial Analysis Software


Develop an in-house alternative to third-party financial software packages and pricing services and put it into production using a scalable platform


Use MATLAB to create financial models and algorithms for valuation, risk assessment, and fair value calculation and then use MATLAB Production Server to deploy them into the existing IT infrastructure


  • Application developed that services the AIFMD regulatory requirement
  • Ramp-up accelerated and costs reduced with custom training
  • Scalable, maintainable enterprise application deployed to hundreds of customers

“MATLAB, MATLAB Production Server, and MathWorks Training Services enabled people on our risk team with conditional programming experience in C++ or Java to efficiently develop a core library for financial analysis and then deploy it as a web application, making it available to production systems in our enterprise environment.”

Marcus Veltum, Helaba Invest

Volatility surface for a European equity index.

With about 140 billion Euros under management and administration, Helaba Invest is a leader in institutional asset management in the German market. The company works with banks, insurance companies, foundations, and other institutions.

At the heart of Helaba Invest’s quantitative risk management and valuation approach is a library of mathematical models developed in MATLAB® and deployed company-wide using MATLAB Production Server™. Analysts and managers at the company rely on these models for product valuation, pricing, risk assessment, regulatory compliance, and other applications.

“One big advantage of MATLAB is that it lets us apply our department's knowledge and expertise to develop our own financial models and other components, rather than rely on black-box systems from other companies,” says Marcus Veltum, team lead for risk assessment at Helaba Invest. “We can then use MATLAB Production Server to deploy them, enabling IT colleagues who have deeper knowledge of Java, C++, and .NET to integrate them into enterprise applications.”


Initially, Helaba Invest considered purchasing third-party software for risk assessment and other financial calculations, including some to service the German Regulation on Derivatives and the Alternative Investment Fund Managers Directive (AIFMD), a key regulatory requirement. In addition to the expense, the lack of flexibility and transparency in this software was a significant drawback. A black-box solution did not allow the team to see how calculations were being performed or to modify the algorithms. They decided to develop their own models.

With limited experience in traditional programming languages, object-oriented principles, or IT system deployment, the team needed custom training to develop the skills they would need to build the software. Once they had developed the models, the team needed to make them available to analysts throughout the company and to other systems in the company’s IT infrastructure, which includes an Oracle database and investment management software.


Helaba Invest used MATLAB and MATLAB Production Server to build a core library of financial models and algorithms and integrate it with existing enterprise applications.

Working in MATLAB with Financial Toolbox™ and Financial Instruments Toolbox™, the team developed models and algorithms for calculating price sensitivities; product valuations; risk measures such as “Greeks,” value-at-risk, and maximum drawdown; and the fair value of 300 portfolios with more than 5000 derivatives.

For example, they used Financial Toolbox to bootstrap interest rate curves and used Financial Instruments Toolbox to price credit default swaps and model equity options.

After using the models and algorithms locally in a desktop environment, the team began preparing to deploy them into the company’s IT environment as a shared library. At this stage, the team participated in customized, onsite training conducted by MathWorks Training Services. The training included multiday sessions on parallel computing, object-oriented programming in MATLAB, and deploying MATLAB applications using MATLAB Production Server with a focus on Java® and .NET interfaces.

MATLAB algorithms integrated into Helaba Invest’s production system.

The team set up a multicore Linux® server running three instances of MATLAB Production Server, one each for development, testing, and production (a client requirement). They packaged their models and algorithms using MATLAB Compiler SDK™ and deployed them to the MATLAB Production Server development instance.

Using Parallel Computing Toolbox™, the team accelerated their computationally intensive calculations by executing them concurrently on the server’s 20 processing cores.

After verifying their deployment in the development instance of MATLAB Production Server, the team moved it to the test instance, where it was formally tested by an independent team within Helaba Invest.

Once the deployed models and algorithms had passed formal testing, the Helaba Invest IT team moved them to the production instance of MATLAB Production Server, where they can be accessed in the enterprise IT environment.

Hundreds of external customers and dozens of internal analysts are currently using the production core library in the background via various front-end applications. The library is accessed directly by individual analysts via a Microsoft® Excel® add-in and via the company’s investment management software. It is also used to generate web reports for customers via a Java interface to the Oracle® database, and services Helaba’s compliance with the AIFMD.

Accessing MATLAB algorithms via a Microsoft Excel front end.


  • Application developed that services the AIFMD regulatory requirement. “Our valuation team needs the fair value prices of our derivatives early in the morning, and getting this information reliably from an external valuation service proved costly and ultimately unworkable,” says Veltum. “With MATLAB, we are now running the calculations and managing the process entirely ourselves, so we are not dependent on third parties.”
  • Ramp-up accelerated and costs reduced with custom training. “The training we received onsite was customized to our needs, which accelerated our ramp-up,” notes Veltum. “We learned how to make our code more robust, maintainable, and efficient, and the sessions, which were attended by both our team and the IT team, improved collaboration between the two groups. As a result, we reduced project resources and support expenses by approximately 20%.”
  • Scalable, maintainable enterprise application deployed to hundreds of customers. “With MATLAB Production Server, we created and deployed a consistent, scalable core library that is easy to maintain and manage because we can make improvements and fixes in one place instead of in several different systems,” says Veltum. “It is also easy to integrate with other IT applications and processes via interfaces to Java, .NET, and Excel.”