Release Notes#

3.0.4.1#

New Features#

Session/Connection-Based Operations

Supports the sql method.

Data Forms and Types

Supports multiple data forms and data types:

  • Data forms: scalar, vector, pair, matrix, set, dictionary, and table. Each form comes with corresponding construction and conversion methods.

  • Data types: LOGICAL, LITERAL, NUMERIC, TEMPORAL, NULL, and more types.

Functions

  • Function library: Provides a rich set of functions, including basic operations, statistical and numerical computations, window functions, and aggregate functions.

  • User-defined functions: Supports both callback and translation modes.

  • Supports various higher-order functions that accept other functions as parameters, allowing function objects to be combined with data objects for concise and efficient computation.

  • Supports fixing partial parameters using sf.partial to simplify function calls.

  • Supports metaprogramming via sf.meta_code, which generates meta-code objects from processing logic for dynamic parsing and execution across different times or computing environments.

SQL Support

  • Supports SQL queries consistent with DolphinDB, including ANSI SQL-92 standard syntax and extended SQL syntax.

  • Enables full use of DolphinDB’s powerful capabilities for complex data analysis and processing within a Python environment.

Plugins

  • Order matching: Supports simulated order placement and order cancellation at specific points in time, and generates corresponding trading results.

  • Backtesting: Provides a complete backtesting framework supporting multiple asset types, including stocks, futures, options, bonds, and cryptocurrencies.

Storage Engines and Database Support

  • Supports creating in-memory tables and DFS tables.

  • Supports multiple storage engines: OLAP, TSDB, PKEY, and OLTP.

Streaming Data Processing

  • Supports multiple types of stream tables.

  • Supports streaming data subscription and publishing.

  • Supports multiple streaming engines.

Input and Output

  • Supports serializing data and storing it as files or binary content.

  • Supports deserializing files or binary content back into the original data.