StockSharp.Algo.Export 5.0.126

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package StockSharp.Algo.Export --version 5.0.126
                    
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.126
                    
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.126" />
                    
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.126" />
                    
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.126
                    
#r "nuget: StockSharp.Algo.Export, 5.0.126"
                    
#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.126
                    
#: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.126
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.126
                    
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.129 471 9/11/2025
5.0.128 329 9/1/2025
5.0.127 287 8/30/2025
5.0.126 371 8/10/2025
5.0.125 741 7/23/2025
5.0.124 632 7/22/2025
5.0.123 432 7/20/2025
5.0.122 266 7/14/2025
5.0.121 267 7/8/2025
5.0.120 239 7/4/2025
5.0.119 278 6/30/2025
5.0.118 369 6/24/2025
5.0.117 245 6/20/2025
5.0.116 281 6/18/2025
5.0.115 349 6/2/2025
5.0.114 443 5/14/2025
5.0.113 733 4/1/2025
5.0.112 282 3/29/2025
5.0.111 287 3/27/2025
5.0.110 522 2/28/2025
5.0.109 312 2/26/2025
5.0.108 300 2/24/2025
5.0.107 456 2/15/2025
5.0.106 313 2/14/2025
5.0.105 603 1/7/2025
5.0.104 398 12/30/2024
5.0.103 675 11/18/2024
5.0.102 296 11/16/2024
5.0.101 546 10/14/2024
5.0.100 330 10/9/2024
5.0.99 296 10/7/2024
5.0.98 285 10/3/2024
5.0.97 386 9/23/2024
5.0.96 323 9/18/2024
5.0.95 291 9/16/2024
5.0.94 363 9/8/2024
5.0.93 559 8/24/2024
5.0.92 422 8/9/2024
5.0.91 472 8/1/2024
5.0.90 273 7/28/2024
5.0.89 477 7/4/2024
5.0.88 419 6/23/2024
5.0.87 378 6/13/2024
5.0.86 360 5/30/2024
5.0.85 216 5/22/2024
5.0.84 440 5/13/2024
5.0.83 463 5/5/2024
5.0.82 368 4/26/2024
5.0.81 300 4/25/2024
5.0.80 352 4/12/2024
5.0.79 356 4/4/2024
5.0.78 464 3/12/2024
5.0.77 268 2/23/2024
5.0.76 214 2/22/2024
5.0.75 382 2/21/2024
5.0.74 387 2/14/2024
5.0.73 340 2/12/2024
5.0.72 293 2/6/2024
5.0.71 342 1/31/2024
5.0.70 356 1/14/2024
5.0.69 485 1/10/2024
5.0.68 522 12/15/2023
5.0.67 356 12/8/2023
5.0.66 451 11/28/2023
5.0.65 268 11/28/2023
5.0.64 456 10/8/2023
5.0.63 294 9/29/2023
5.0.62 260 9/19/2023
5.0.61 222 9/18/2023
5.0.60 484 7/30/2023
5.0.59 372 7/10/2023
5.0.58 305 7/8/2023
5.0.57 335 7/5/2023
5.0.56 333 6/22/2023
5.0.55 311 6/19/2023
5.0.54 388 5/14/2023
5.0.53 333 5/8/2023
5.0.52 325 4/21/2023
5.0.51 413 4/17/2023
5.0.50 395 4/7/2023
5.0.49 385 4/3/2023
5.0.48 478 3/6/2023
5.0.47 384 2/23/2023
5.0.46 414 2/13/2023
5.0.45 420 2/9/2023
5.0.44 368 2/8/2023
5.0.43 397 2/2/2023
5.0.42 431 1/30/2023
5.0.41 547 1/3/2023
5.0.40 414 12/30/2022
5.0.39 481 12/12/2022
5.0.38 432 12/8/2022
5.0.37 581 11/11/2022
5.0.36 523 11/1/2022
5.0.35 549 10/16/2022
5.0.34 671 9/8/2022
5.0.33 604 8/29/2022
5.0.32 570 8/24/2022
5.0.31 756 7/26/2022
5.0.30 600 7/19/2022
5.0.29 876 5/13/2022
5.0.28 635 4/30/2022
5.0.27 718 3/29/2022
5.0.26 602 3/25/2022
5.0.25 599 3/17/2022
5.0.24 673 2/15/2022
5.0.23 603 2/11/2022
5.0.22 654 2/2/2022
5.0.21 634 1/28/2022
5.0.20 595 1/26/2022
5.0.19 592 1/21/2022
5.0.18 585 1/21/2022
5.0.17 613 1/13/2022
5.0.16 499 12/29/2021
5.0.15 477 12/20/2021
5.0.14 472 12/11/2021
5.0.13 428 12/6/2021
5.0.12 1,088 11/29/2021
5.0.11 472 11/22/2021
5.0.10 574 11/13/2021
5.0.9 533 11/8/2021
5.0.8 569 11/5/2021
5.0.7 574 10/21/2021
5.0.6 509 10/14/2021
5.0.5 500 10/14/2021
5.0.4 533 10/13/2021
5.0.3 503 10/11/2021
5.0.2 490 10/8/2021
5.0.1 496 10/7/2021
5.0.0 583 9/23/2021