Multi-Asset Management Platform

Multi-Asset Management Platform

As securities firms expand from traditional brokerage and investment banking into proprietary trading, asset management, and wealth management, multi-asset, cross-market operations demand greater operational efficiency and stronger risk management.

Built on a unified financial data model, DolphinDB integrates real-time data management, pricing, analytics, and risk management into one computing platform. It connects the investment lifecycle from data ingestion and research to portfolio management, trading, and risk control, providing a unified foundation for multi-asset operations.

Challenges

Fragmented Data Models Across Asset Classes

Bonds, futures, interest rate swaps (IRS), foreign exchange (FX), options, and other instruments are often maintained in separate data models with inconsistent structures and field definitions. This creates complex data dependencies and cross-table joins, making cross-asset analytics difficult and inefficient.

High Market Data Integration Costs

Valuation relies on various market inputs, including yield curves, volatility surfaces, spot prices, and fixings. These inputs are often managed separately, with different formats and integration requirements, increasing implementation costs and the risk of inconsistent data.

Complex Cross-Asset Valuation and Pricing

Each asset class usually relies on its own pricing engine, which pushes extensive conditional logic and data-mapping code into business applications. This raises development and maintenance costs and makes it hard to support high-volume, cross-asset pricing efficiently.

Fragmented Portfolio and Risk Management Systems

Portfolio management, trade processing, market data, analytics, and risk management are often handled by separate systems. Long data pipelines and duplicated business logic limit efficiency and make it difficult to maintain consistent, real-time views of portfolios and risks.

DolphinDB Solution: Object-Based Modeling for Multi-Asset Management

DolphinDB provides a unified data model for financial instruments and market data, built around two native object types: INSTRUMENT and MKTDATA. These models standardize the representation and management of different asset classes, reducing the need for asset-specific tables and complex data transformations.

On this foundation, DolphinDB provides unified interfaces for market data management, curve and surface construction, instrument pricing, and financial analytics. Applications can access these capabilities through consistent interfaces without implementing separate data processing and pricing logic for each asset class.

For portfolio management, for example, assets, trades, market data, and related metrics can be represented through five core objects rather than dozens or hundreds of tables. New asset types can be introduced by defining their instrument and market data objects and implementing the corresponding pricing and analytics, without redesigning the underlying schema.

With the data model and pricing interface abstracted, application development becomes remarkably simple. To calculate the value of a portfolio, for instance, a script loops through each trade, calls the pricing function to get its NPV, and sums the results weighted by position.

Core Technical Architecture

Built on the unified data model, DolphinDB supports a real-time business platform that covers the full lifecycle of multi-asset management.

  • Global Data Catalog: Centralized discovery of enterprise data assets, including their locations, sources, and usage.
  • Unified Data Management: Consistent data storage and management across departments and business applications.
  • Cross-Cluster Collaboration: Cross-cluster queries and data sharing provide access to distributed data while reducing redundant transfers and migration.
  • Real-Time Data Processing: Millisecond-to-second response times support streaming, batch, and real-time analytical workloads.
  • Automated Task Orchestration: Declarative APIs, built-in scheduling, distributed execution, and failure recovery simplify the management of data pipelines and computing tasks.
  • High Availability: Checkpoint-based recovery restores streaming tasks from saved states after failures, minimizing data loss and service disruption.
  • 20+ Streaming Engines: Support common real-time processing patterns and complex streaming workloads.
  • 2,000+ Built-in Functions: Cover time-series analytics, data processing, and other common computing scenarios, providing ready-to-use capabilities for financial applications.

Core Technical Capabilities

Unified Data Model

DolphinDB provides standardized data structures for financial instruments and market data, supporting bonds, futures, FX forwards, swaps, options, and other derivatives. Different asset classes can be managed and queried through a common framework.

Orca Real-Time Computing Platform

Orca uses a streaming graph to define and execute end-to-end real-time computing pipelines. It supports continuous calculations for portfolio valuation, P&L, risk exposure, and market-making quotes.

→ Learn how Orca works

Financial Engineering Library

A comprehensive financial function library supports bond and option pricing, yield curve construction, and risk calculations. Built-in measures such as duration, convexity, and Greeks support portfolio analysis, scenario analysis, and stress testing. Custom models can also be integrated through flexible function interfaces.

Unified Batch and Stream Processing

DolphinDB uses consistent data and computing logic across historical and real-time workloads. Research, pricing, and risk models can be backtested on historical data and reused in live production, reducing duplicated development and accelerating model deployment.

→ Learn about the unified stream and batch architecture

Multi-Asset Data Modeling

Financial Instrument Modeling

DolphinDB introduces a unified INSTRUMENT data type to represent different financial instruments within a consistent structure, from standardized exchange-traded products to OTC derivatives with customized terms.

Instead of maintaining dozens or hundreds of asset-specific tables, institutions can manage instruments through a unified instrument table. New asset classes can be added by defining their attributes according to the model specification, without changing the underlying table schema.

Instrument fields can be queried and filtered directly, avoiding complex parsing logic. Performance tests show that conditional queries across millions of instrument records complete in tens of milliseconds. For non-standard contracts such as options and structured products, querying INSTRUMENT fields delivers more than 10x the performance of JSON-based storage.

Curve and Surface Management

The MKTDATA data type provides a unified representation of market data objects, including interest rate curves, yield curves, and volatility surfaces.

Market data from internal systems or third-party providers can be converted into a standardized format using the parseMktData function. Curves and surfaces are referenced by name and valuation date, allowing pricing engines to retrieve consistent market inputs.

Together, INSTRUMENT and MKTDATA provide a standardized data foundation for instrument pricing, portfolio valuation, and risk calculations.

See also: Curve and Surface Construction Tutorial

Applications

01 Position Management and Analytics

DolphinDB continuously processes market and trade data to update positions and calculate market value, unrealized P&L, and risk exposure in real time. Results can be aggregated and analyzed by account, portfolio, strategy, and other dimensions.

The platform supports batch processing of tens of thousands of accounts and millions of position records within seconds, with flexible custom metrics.

  • Equities: Industry and style attribution, benchmark-relative active weights, transaction costs, and other metrics support quantitative stock selection, active management, and asset allocation.
  • Futures: Tick-level position marking and real-time calculation of basis, margin usage, maintenance margin ratios, account risk levels, and liquidation warning thresholds. Positions can be aggregated by contract, product, and account, with configurable broker-specific margin rules.

See also:

02 Fixed Income Research and Backtesting

DolphinDB provides a unified framework for fixed income research and backtesting across bonds, treasury bond futures, IRS, yield curves, and credit spreads.

Instrument definitions, pricing inputs, and financial analytics are managed through consistent data structures and interfaces, simplifying strategy development and enabling research, backtesting, and real-time monitoring on the same platform.

03 Market Making and Real-Time Quoting

DolphinDB integrates real-time market data processing, curve and surface construction, and instrument pricing into a continuous computing pipeline.

Its curve and surface building engine (createMktDataEngine) transforms incoming quotes and market data into valuation-ready curves and volatility surfaces. The stream pricing engine (createPricingEngine) then updates instrument valuations and key metrics, including NPV, fair value, basis, and Greeks, whenever market inputs change.

This enables market makers to maintain up-to-date valuations and generate quotes with millisecond-level latency.

Performance

The following results show single-thread performance in typical pricing scenarios.

Contracts pricedAverage total timePricing timeCurve construction time
1003.31 ms1.36 ms1.94 ms
10,00054.40 ms51.34 ms3.05 ms
100,000361.86 ms358.81 ms3.05 ms

04 Portfolio Management Platform

DolphinDB provides a unified platform for managing multi-asset portfolios, covering portfolio construction, position tracking, trade management, performance analysis, and metric configuration.

Bonds, treasury bond futures, IRS, and other instruments are managed within a consistent framework. Portfolio positions, market data, and pricing results can be combined to provide a consolidated view of portfolio holdings, valuation, returns, and exposures.

The platform's extensible data model also makes it easier to introduce new asset classes and portfolio analytics without extensive changes to existing business logic.

05 Risk Management System

DolphinDB integrates real-time market data, trades, positions, and valuation results into a unified risk calculation pipeline. It supports continuous monitoring of risk exposure, duration, DV01, Greeks, margin, and portfolio P&L across equities, bonds, futures, options, and other asset classes.

Risk metrics can be aggregated and analyzed at account, portfolio, and strategy levels.

  • Real-Time Trading Risk: A rule engine monitors positions, trades, leverage, and margin against predefined risk constraints. Combined with event processing, it supports real-time detection, alerts, and automated responses to abnormal trading activity. Risk calculations run independently of the main trading path to minimize impact on trade execution.
  • Portfolio Risk Management: Consistent data structures and pricing models support sensitivity analysis, risk measurement, risk attribution, and scenario analysis across portfolios, providing transparent and timely risk insights.

Featured Tutorials & Best Practices:

Open Integration

DolphinDB's open, decoupled architecture integrates existing data systems, trading platforms, and financial engineering libraries into a unified real-time computing framework.

  • Integration with Heterogeneous Data Systems: Standardized interfaces and streaming ingestion connect to market data sources, internal data warehouses, and trading systems. Processed results can be delivered to downstream risk, booking, and execution systems.
  • Integration of Financial Engineering Libraries: The UserDefinedPricer mechanism allows in-house C++ pricing models to be compiled into dynamic libraries (.so) and registered as plugins. Models remain independently maintainable and can be updated without modifying core system logic.
  • Flexible Computing Orchestration: Standardized instrument and pricing interfaces allow external models to work alongside DolphinDB's real-time computing pipelines, simplifying integration and adaptation to new business requirements.

Solution Benefits

One model for every asset class

Bonds, futures, IRS, FX, options, and the market data they need for pricing are all expressed as Instrument and MktData objects. Applications query and value any asset through the same interfaces, with fewer cross-table joins and no asset-specific data handling.

A unified computing foundation that improves reuse

Pricing logic and risk metrics developed in research run unchanged in historical backtesting and live computation. Teams avoid rebuilding models for deployment and move from validation to production faster.

Add new assets without rework

A new instrument needs no table schema changes and no changes to business logic. Define the asset object, implement its pricing and metric interfaces, and it joins the existing system.

Build on what you already have

DolphinDB connects to your existing market data, trading, data, and risk systems, and runs in-house models through UserDefinedPricer. There is no need to replace core systems or rewrite existing pricing models, so you can adopt it step by step.