StockSharp.Algo.Export 5.0.141

Prefix Reserved
dotnet add package StockSharp.Algo.Export --version 5.0.141
                    
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.141
                    
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="StockSharp.Algo.Export" Version="5.0.141" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Algo.Export" Version="5.0.141" />
                    
Directory.Packages.props
<PackageReference Include="StockSharp.Algo.Export" />
                    
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 StockSharp.Algo.Export --version 5.0.141
                    
#r "nuget: StockSharp.Algo.Export, 5.0.141"
                    
#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 StockSharp.Algo.Export@5.0.141
                    
#: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=StockSharp.Algo.Export&version=5.0.141
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.141
                    
Install as a Cake Tool

S#.Algo.Export

S#.Algo.Export is a module of the StockSharp trading platform responsible for exporting market data and trading information to a variety of external formats. The library converts incoming Message based data structures into files or databases so it can be consumed by third‑party tools.

Features

  • Multiple output formats: export can be performed to Excel spreadsheets, text files, JSON or XML documents, databases via LinqToDB, and to StockSharp's own storage format.
  • Data type agnostic: any message type from StockSharp.Messages can be exported (ticks, order books, level1, candles, transactions, etc.). The target data type is described by DataType and handled in the base exporter logic.
  • Extensible Excel engine: the IExcelWorkerProvider interface abstracts work with Excel files. DevExpExcelWorkerProvider implements this interface via DevExpress components and allows both creation of new documents and update of existing ones.
  • Template based text export: the TemplateTxtRegistry class stores default line templates for various message types which are used by TextExporter when writing text or CSV files.
  • Database integration: DatabaseExporter uses LinqToDB to create tables on the fly and write messages in batches. The exporter can automatically map message fields and manage data uniqueness checking.
  • StockSharp storage: StockSharpExporter writes messages to the native persistent storage using IStorageRegistry and IMarketDataDrive.
  • Progress control: every exporter accepts a Func<int,bool> delegate used to report element count and abort processing if required.

Usage

Below is a simplified example of exporting trades to JSON:

var exporter = new JsonExporter(DataType.Ticks, i => false, "trades.json")
{
    Indent = true
};

var result = exporter.Export(tradeMessages);
Console.WriteLine($"Saved {result.Item1} trades up to {result.Item2}");

Other exporters (ExcelExporter, XmlExporter, TextExporter, DatabaseExporter, StockSharpExporter) expose the same Export method but write to their respective targets. Creation parameters vary according to the destination (file name, Excel provider, database connection, etc.).

Text Templates

TemplateTxtRegistry defines a set of default string templates which can be customized. They describe how message fields are converted to text. For instance, TemplateTxtTick controls how each trade is written to a text file. See the source for the full list of templates and examples.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on StockSharp.Algo.Export:

Package Downloads
StockSharp.Xaml

Misc graphical components. More info on web site https://stocksharp.com/store/

StockSharp.Hydra.Core

Hydra core components. More info on web site https://stocksharp.com/store/

StockSharp.Studio.Runner

Runner - cross platform application to run any types of strategies

StockSharp.Hydra.Core.Avalonia

Hydra core components. More info on web site https://stocksharp.com/store/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.141 108 10/25/2026
5.0.140 96 10/24/2026
5.0.139 473 9/13/2026
5.0.138 154 9/9/2026
5.0.137 342 8/26/2026
5.0.136 153 8/26/2026
5.0.135 263 8/20/2026
5.0.134 197 8/18/2026
5.0.133 206 8/15/2026
5.0.132 201 8/11/2026
5.0.131 416 7/30/2026
5.0.130 200 7/28/2026
5.0.129 2,454 9/11/2025
5.0.128 618 9/1/2025
5.0.127 441 8/30/2025
5.0.126 545 8/10/2025
5.0.125 900 7/23/2025
5.0.124 794 7/22/2025
5.0.123 578 7/20/2025
5.0.122 413 7/14/2025
Loading failed

Updated Ecng.Data to 1.0.488.