Introduction

Swordfish, an embedded version of DolphinDB, is a C++/Python library that integrates DolphinDB’s powerful analytic function library and streaming framework. Built for high-performance computing, it excels in low-latency scenarios like algorithmic trading and real-time risk management.

Notable features of Swordfish include:
  • Support for DolphinDB SQL and Built-in Functions: Supports extensive data analysis functions, as well as all DolphinDB SQL statements.
  • Support for Streaming Engines: Supports all types of DolphinDB streaming engines, and other functions for real-time data processing, such as publishing, subscription, data replay, etc.
  • Small Footprint:Can be easily embedded in any C++/Python-based solution, ensuring minimal resource consumption.
  • In-process Efficiency: Facilitates more efficient function calls within a single process, eliminating the overhead associated with inter-process communication.
  • Developer-Friendly Extensions: Offers DolphinDB plugin support, enabling integration with diverse tools. This feature enhances its suitability for trading scenarios such as market data access, backtesting, and order matching simulations.
Note:
  • Swordfish is not supported by Community Edition. You can get a trial of Swordfish from DolphinDB official website.
  • License-authorized CPU cores must match or exceed the machine's actual CPU cores.