DbnSuite.Client 0.5.1

dotnet add package DbnSuite.Client --version 0.5.1
                    
NuGet\Install-Package DbnSuite.Client -Version 0.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DbnSuite.Client" Version="0.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DbnSuite.Client" Version="0.5.1" />
                    
Directory.Packages.props
<PackageReference Include="DbnSuite.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DbnSuite.Client --version 0.5.1
                    
#r "nuget: DbnSuite.Client, 0.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DbnSuite.Client@0.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DbnSuite.Client&version=0.5.1
                    
Install as a Cake Addin
#tool nuget:?package=DbnSuite.Client&version=0.5.1
                    
Install as a Cake Tool

DbnSuite.Client

The engine under dbnf, as a C# library. It reads a DbnSync archive of Databento® files, in S3 or a folder, and turns it into what research and backtests need.

Independent project. DbnSuite has no official connection with Databento; it is not made, endorsed or supported by Databento. Databento is a registered trademark of Databento, Inc.

For licensed access only. Use it only as your Databento agreements allow, including their terms on storing, sharing and redistributing data.

At your own risk. Free software under the MIT licence, provided as is, without warranty. See NOTICE.md.

dotnet add package DbnSuite.Client

It targets .NET 11 and is Native AOT compatible. Its only dependencies are the AWS S3 SDK and System.IO.Hashing; zstd comes with .NET.

What it does

  • Archive access: list series and days, and fetch days through a local cache, following the archive's layout so a day never fetched is never taken for a day without trading.
  • A typed DBN reader: DBN version 3 records as C# records through IAsyncEnumerable, with prices as decimals.
  • Market building blocks: instruments, CME trade dates and sessions, order books, bars, contracts and roll schedules.
  • The whole exporter: one ExportRequest does whatever dbnf export does: bars, back-adjusted continuous series, rebuilt order books, and CSV, Parquet, JSON Lines, DBN or NinjaTrader 8.
  • DbnTape: build, prove and replay compact S1, Trade and L1 tapes, and deal seeded Monte Carlo runs of whole sessions.
  • Errors you can branch on: expected failures come back as Result<T> with stable codes.

A first look

using DbnSuite.Client.Archive;

// A folder in the archive's layout; for S3, give Location, AccessKey, SecretKey and a cacheRoot
using var archive = DbnArchive.Open(new ArchiveOptions { Location = "dbn" }, cacheRoot: null);

var series = await archive.ListSeriesAsync(cancel);

if (!series.IsSuccess)
{
    Console.Error.WriteLine(series.Error);
    return;
}

foreach (var s in series.Value)
    Console.WriteLine($"{s.Root,-4} {s.Schema,-10} {s.Files,6} days  {s.First} to {s.Last}");

Learn more

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.1 65 11/23/2026
0.5.0 69 11/23/2026
0.4.1 113 11/16/2026
0.4.0 168 11/16/2026
0.3.0 150 11/13/2026