
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.
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.
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.
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.
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 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.
Built on the unified data model, DolphinDB supports a real-time business platform that covers the full lifecycle of multi-asset management.

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 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.
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.
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
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.
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
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.
See also:
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.
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 priced | Average total time | Pricing time | Curve construction time |
|---|---|---|---|
| 100 | 3.31 ms | 1.36 ms | 1.94 ms |
| 10,000 | 54.40 ms | 51.34 ms | 3.05 ms |
| 100,000 | 361.86 ms | 358.81 ms | 3.05 ms |
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.

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.

Featured Tutorials & Best Practices:
DolphinDB's open, decoupled architecture integrates existing data systems, trading platforms, and financial engineering libraries into a unified real-time computing framework.
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.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.
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.
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.
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.