StockSharp.Algo.Export 5.0.124

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.124
                    
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.124
                    
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.124" />
                    
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.124" />
                    
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.124
                    
#r "nuget: StockSharp.Algo.Export, 5.0.124"
                    
#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.124
                    
#: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.124
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.124
                    
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 114 9/11/2025
5.0.128 251 9/1/2025
5.0.127 189 8/30/2025
5.0.126 276 8/10/2025
5.0.125 632 7/23/2025
5.0.124 561 7/22/2025
5.0.123 330 7/20/2025
5.0.122 207 7/14/2025
5.0.121 205 7/8/2025
5.0.120 175 7/4/2025
5.0.119 230 6/30/2025
5.0.118 275 6/24/2025
5.0.117 179 6/20/2025
5.0.116 227 6/18/2025
5.0.115 286 6/2/2025
5.0.114 404 5/14/2025
5.0.113 656 4/1/2025
5.0.112 214 3/29/2025
5.0.111 223 3/27/2025
5.0.110 463 2/28/2025
5.0.109 256 2/26/2025
5.0.108 249 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 242 11/16/2024
5.0.101 497 10/14/2024
5.0.100 265 10/9/2024
5.0.99 232 10/7/2024
5.0.98 222 10/3/2024
5.0.97 316 9/23/2024
5.0.96 253 9/18/2024
5.0.95 234 9/16/2024
5.0.94 304 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 414 7/4/2024
5.0.88 346 6/23/2024
5.0.87 310 6/13/2024
5.0.86 300 5/30/2024
5.0.85 181 5/22/2024
5.0.84 370 5/13/2024
5.0.83 366 5/5/2024
5.0.82 311 4/26/2024
5.0.81 233 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 253 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 378 11/28/2023
5.0.65 220 11/28/2023
5.0.64 414 10/8/2023
5.0.63 259 9/29/2023
5.0.62 227 9/19/2023
5.0.61 193 9/18/2023
5.0.60 440 7/30/2023
5.0.59 357 7/10/2023
5.0.58 266 7/8/2023
5.0.57 290 7/5/2023
5.0.56 297 6/22/2023
5.0.55 274 6/19/2023
5.0.54 345 5/14/2023
5.0.53 290 5/8/2023
5.0.52 284 4/21/2023
5.0.51 387 4/17/2023
5.0.50 364 4/7/2023
5.0.49 335 4/3/2023
5.0.48 442 3/6/2023
5.0.47 363 2/23/2023
5.0.46 387 2/13/2023
5.0.45 389 2/9/2023
5.0.44 340 2/8/2023
5.0.43 366 2/2/2023
5.0.42 397 1/30/2023
5.0.41 511 1/3/2023
5.0.40 382 12/30/2022
5.0.39 451 12/12/2022
5.0.38 392 12/8/2022
5.0.37 539 11/11/2022
5.0.36 488 11/1/2022
5.0.35 523 10/16/2022
5.0.34 631 9/8/2022
5.0.33 579 8/29/2022
5.0.32 547 8/24/2022
5.0.31 724 7/26/2022
5.0.30 591 7/19/2022
5.0.29 839 5/13/2022
5.0.28 595 4/30/2022
5.0.27 687 3/29/2022
5.0.26 578 3/25/2022
5.0.25 571 3/17/2022
5.0.24 636 2/15/2022
5.0.23 556 2/11/2022
5.0.22 611 2/2/2022
5.0.21 609 1/28/2022
5.0.20 566 1/26/2022
5.0.19 561 1/21/2022
5.0.18 554 1/21/2022
5.0.17 592 1/13/2022
5.0.16 465 12/29/2021
5.0.15 450 12/20/2021
5.0.14 441 12/11/2021
5.0.13 408 12/6/2021
5.0.12 1,057 11/29/2021
5.0.11 438 11/22/2021
5.0.10 537 11/13/2021
5.0.9 496 11/8/2021
5.0.8 528 11/5/2021
5.0.7 537 10/21/2021
5.0.6 473 10/14/2021
5.0.5 462 10/14/2021
5.0.4 496 10/13/2021
5.0.3 466 10/11/2021
5.0.2 466 10/8/2021
5.0.1 460 10/7/2021
5.0.0 547 9/23/2021