StockSharp.Algo.Export 5.0.129

Prefix Reserved
dotnet add package StockSharp.Algo.Export --version 5.0.129
                    
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.129
                    
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.129" />
                    
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.129" />
                    
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.129
                    
#r "nuget: StockSharp.Algo.Export, 5.0.129"
                    
#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.129
                    
#: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.129
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.129
                    
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 213 9/11/2025
5.0.128 259 9/1/2025
5.0.127 197 8/30/2025
5.0.126 282 8/10/2025
5.0.125 653 7/23/2025
5.0.124 578 7/22/2025
5.0.123 346 7/20/2025
5.0.122 212 7/14/2025
5.0.121 210 7/8/2025
5.0.120 180 7/4/2025
5.0.119 235 6/30/2025
5.0.118 282 6/24/2025
5.0.117 184 6/20/2025
5.0.116 233 6/18/2025
5.0.115 293 6/2/2025
5.0.114 409 5/14/2025
5.0.113 662 4/1/2025
5.0.112 220 3/29/2025
5.0.111 229 3/27/2025
5.0.110 470 2/28/2025
5.0.109 261 2/26/2025
5.0.108 255 2/24/2025
5.0.107 399 2/15/2025
5.0.106 260 2/14/2025
5.0.105 550 1/7/2025
5.0.104 320 12/30/2024
5.0.103 623 11/18/2024
5.0.102 249 11/16/2024
5.0.101 501 10/14/2024
5.0.100 269 10/9/2024
5.0.99 238 10/7/2024
5.0.98 227 10/3/2024
5.0.97 322 9/23/2024
5.0.96 258 9/18/2024
5.0.95 239 9/16/2024
5.0.94 312 9/8/2024
5.0.93 468 8/24/2024
5.0.92 367 8/9/2024
5.0.91 350 8/1/2024
5.0.90 222 7/28/2024
5.0.89 420 7/4/2024
5.0.88 354 6/23/2024
5.0.87 317 6/13/2024
5.0.86 305 5/30/2024
5.0.85 187 5/22/2024
5.0.84 375 5/13/2024
5.0.83 374 5/5/2024
5.0.82 317 4/26/2024
5.0.81 237 4/25/2024
5.0.80 303 4/12/2024
5.0.79 317 4/4/2024
5.0.78 398 3/12/2024
5.0.77 246 2/23/2024
5.0.76 185 2/22/2024
5.0.75 344 2/21/2024
5.0.74 333 2/14/2024
5.0.73 300 2/12/2024
5.0.72 259 2/6/2024
5.0.71 291 1/31/2024
5.0.70 329 1/14/2024
5.0.69 434 1/10/2024
5.0.68 493 12/15/2023
5.0.67 319 12/8/2023
5.0.66 380 11/28/2023
5.0.65 222 11/28/2023
5.0.64 419 10/8/2023
5.0.63 264 9/29/2023
5.0.62 227 9/19/2023
5.0.61 197 9/18/2023
5.0.60 446 7/30/2023
5.0.59 360 7/10/2023
5.0.58 269 7/8/2023
5.0.57 296 7/5/2023
5.0.56 306 6/22/2023
5.0.55 279 6/19/2023
5.0.54 350 5/14/2023
5.0.53 297 5/8/2023
5.0.52 288 4/21/2023
5.0.51 394 4/17/2023
5.0.50 368 4/7/2023
5.0.49 341 4/3/2023
5.0.48 447 3/6/2023
5.0.47 368 2/23/2023
5.0.46 391 2/13/2023
5.0.45 394 2/9/2023
5.0.44 348 2/8/2023
5.0.43 372 2/2/2023
5.0.42 403 1/30/2023
5.0.41 515 1/3/2023
5.0.40 388 12/30/2022
5.0.39 457 12/12/2022
5.0.38 397 12/8/2022
5.0.37 545 11/11/2022
5.0.36 496 11/1/2022
5.0.35 531 10/16/2022
5.0.34 639 9/8/2022
5.0.33 586 8/29/2022
5.0.32 552 8/24/2022
5.0.31 730 7/26/2022
5.0.30 596 7/19/2022
5.0.29 846 5/13/2022
5.0.28 602 4/30/2022
5.0.27 692 3/29/2022
5.0.26 586 3/25/2022
5.0.25 578 3/17/2022
5.0.24 642 2/15/2022
5.0.23 563 2/11/2022
5.0.22 617 2/2/2022
5.0.21 616 1/28/2022
5.0.20 574 1/26/2022
5.0.19 567 1/21/2022
5.0.18 560 1/21/2022
5.0.17 598 1/13/2022
5.0.16 471 12/29/2021
5.0.15 459 12/20/2021
5.0.14 447 12/11/2021
5.0.13 414 12/6/2021
5.0.12 1,062 11/29/2021
5.0.11 445 11/22/2021
5.0.10 545 11/13/2021
5.0.9 502 11/8/2021
5.0.8 534 11/5/2021
5.0.7 543 10/21/2021
5.0.6 481 10/14/2021
5.0.5 469 10/14/2021
5.0.4 502 10/13/2021
5.0.3 473 10/11/2021
5.0.2 471 10/8/2021
5.0.1 466 10/7/2021
5.0.0 556 9/23/2021