StockSharp.Algo.Export 5.0.128

Prefix Reserved
dotnet add package StockSharp.Algo.Export --version 5.0.128
                    
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.128
                    
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.128" />
                    
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.128" />
                    
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.128
                    
#r "nuget: StockSharp.Algo.Export, 5.0.128"
                    
#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.128
                    
#: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.128
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.128
                    
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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 (3)

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

Package Downloads
StockSharp.Studio.Controls

Controls for UI applications. 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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.128 235 9/1/2025
5.0.127 188 8/30/2025
5.0.126 275 8/10/2025
5.0.125 590 7/23/2025
5.0.124 506 7/22/2025
5.0.123 278 7/20/2025
5.0.122 205 7/14/2025
5.0.121 204 7/8/2025
5.0.120 175 7/4/2025
5.0.119 230 6/30/2025
5.0.118 271 6/24/2025
5.0.117 178 6/20/2025
5.0.116 223 6/18/2025
5.0.115 286 6/2/2025
5.0.114 404 5/14/2025
5.0.113 654 4/1/2025
5.0.112 212 3/29/2025
5.0.111 222 3/27/2025
5.0.110 462 2/28/2025
5.0.109 256 2/26/2025
5.0.108 248 2/24/2025
5.0.107 393 2/15/2025
5.0.106 256 2/14/2025
5.0.105 545 1/7/2025
5.0.104 316 12/30/2024
5.0.103 617 11/18/2024
5.0.102 240 11/16/2024
5.0.101 497 10/14/2024
5.0.100 265 10/9/2024
5.0.99 230 10/7/2024
5.0.98 222 10/3/2024
5.0.97 316 9/23/2024
5.0.96 252 9/18/2024
5.0.95 234 9/16/2024
5.0.94 303 9/8/2024
5.0.93 461 8/24/2024
5.0.92 360 8/9/2024
5.0.91 345 8/1/2024
5.0.90 218 7/28/2024
5.0.89 413 7/4/2024
5.0.88 345 6/23/2024
5.0.87 310 6/13/2024
5.0.86 299 5/30/2024
5.0.85 180 5/22/2024
5.0.84 370 5/13/2024
5.0.83 366 5/5/2024
5.0.82 310 4/26/2024
5.0.81 232 4/25/2024
5.0.80 295 4/12/2024
5.0.79 312 4/4/2024
5.0.78 394 3/12/2024
5.0.77 241 2/23/2024
5.0.76 180 2/22/2024
5.0.75 338 2/21/2024
5.0.74 325 2/14/2024
5.0.73 293 2/12/2024
5.0.72 252 2/6/2024
5.0.71 283 1/31/2024
5.0.70 323 1/14/2024
5.0.69 427 1/10/2024
5.0.68 486 12/15/2023
5.0.67 315 12/8/2023
5.0.66 376 11/28/2023
5.0.65 220 11/28/2023
5.0.64 412 10/8/2023
5.0.63 258 9/29/2023
5.0.62 227 9/19/2023
5.0.61 192 9/18/2023
5.0.60 438 7/30/2023
5.0.59 355 7/10/2023
5.0.58 265 7/8/2023
5.0.57 289 7/5/2023
5.0.56 296 6/22/2023
5.0.55 271 6/19/2023
5.0.54 344 5/14/2023
5.0.53 288 5/8/2023
5.0.52 283 4/21/2023
5.0.51 384 4/17/2023
5.0.50 363 4/7/2023
5.0.49 334 4/3/2023
5.0.48 440 3/6/2023
5.0.47 362 2/23/2023
5.0.46 386 2/13/2023
5.0.45 387 2/9/2023
5.0.44 339 2/8/2023
5.0.43 365 2/2/2023
5.0.42 395 1/30/2023
5.0.41 510 1/3/2023
5.0.40 380 12/30/2022
5.0.39 448 12/12/2022
5.0.38 391 12/8/2022
5.0.37 538 11/11/2022
5.0.36 487 11/1/2022
5.0.35 521 10/16/2022
5.0.34 629 9/8/2022
5.0.33 577 8/29/2022
5.0.32 546 8/24/2022
5.0.31 723 7/26/2022
5.0.30 590 7/19/2022
5.0.29 838 5/13/2022
5.0.28 594 4/30/2022
5.0.27 686 3/29/2022
5.0.26 575 3/25/2022
5.0.25 570 3/17/2022
5.0.24 635 2/15/2022
5.0.23 553 2/11/2022
5.0.22 610 2/2/2022
5.0.21 608 1/28/2022
5.0.20 563 1/26/2022
5.0.19 560 1/21/2022
5.0.18 553 1/21/2022
5.0.17 591 1/13/2022
5.0.16 463 12/29/2021
5.0.15 447 12/20/2021
5.0.14 440 12/11/2021
5.0.13 407 12/6/2021
5.0.12 1,056 11/29/2021
5.0.11 437 11/22/2021
5.0.10 535 11/13/2021
5.0.9 494 11/8/2021
5.0.8 526 11/5/2021
5.0.7 535 10/21/2021
5.0.6 471 10/14/2021
5.0.5 460 10/14/2021
5.0.4 493 10/13/2021
5.0.3 465 10/11/2021
5.0.2 463 10/8/2021
5.0.1 459 10/7/2021
5.0.0 545 9/23/2021