StockSharp.Algo.Export
5.0.127
Prefix Reserved
See the version list below for details.
dotnet add package StockSharp.Algo.Export --version 5.0.127
NuGet\Install-Package StockSharp.Algo.Export -Version 5.0.127
<PackageReference Include="StockSharp.Algo.Export" Version="5.0.127" />
<PackageVersion Include="StockSharp.Algo.Export" Version="5.0.127" />
<PackageReference Include="StockSharp.Algo.Export" />
paket add StockSharp.Algo.Export --version 5.0.127
#r "nuget: StockSharp.Algo.Export, 5.0.127"
#:package StockSharp.Algo.Export@5.0.127
#addin nuget:?package=StockSharp.Algo.Export&version=5.0.127
#tool nuget:?package=StockSharp.Algo.Export&version=5.0.127
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.Messagescan be exported (ticks, order books, level1, candles, transactions, etc.). The target data type is described byDataTypeand handled in the base exporter logic. - Extensible Excel engine: the
IExcelWorkerProviderinterface abstracts work with Excel files.DevExpExcelWorkerProviderimplements this interface via DevExpress components and allows both creation of new documents and update of existing ones. - Template based text export: the
TemplateTxtRegistryclass stores default line templates for various message types which are used byTextExporterwhen writing text or CSV files. - Database integration:
DatabaseExporterusesLinqToDBto create tables on the fly and write messages in batches. The exporter can automatically map message fields and manage data uniqueness checking. - StockSharp storage:
StockSharpExporterwrites messages to the native persistent storage usingIStorageRegistryandIMarketDataDrive. - 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 | Versions 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. |
-
net6.0
- Ecng.Data.Linq2db (>= 1.0.205)
- Ecng.DXRefs (>= 1.0.1)
- StockSharp.Algo (>= 5.0.227)
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 | 881 | 9/11/2025 |
| 5.0.128 | 351 | 9/1/2025 |
| 5.0.127 | 304 | 8/30/2025 |
| 5.0.126 | 393 | 8/10/2025 |
| 5.0.125 | 759 | 7/23/2025 |
| 5.0.124 | 648 | 7/22/2025 |
| 5.0.123 | 447 | 7/20/2025 |
| 5.0.122 | 281 | 7/14/2025 |
| 5.0.121 | 285 | 7/8/2025 |
| 5.0.120 | 255 | 7/4/2025 |
| 5.0.119 | 294 | 6/30/2025 |
| 5.0.118 | 393 | 6/24/2025 |
| 5.0.117 | 273 | 6/20/2025 |
| 5.0.116 | 304 | 6/18/2025 |
| 5.0.115 | 370 | 6/2/2025 |
| 5.0.114 | 459 | 5/14/2025 |
| 5.0.113 | 755 | 4/1/2025 |
| 5.0.112 | 306 | 3/29/2025 |
| 5.0.111 | 305 | 3/27/2025 |
| 5.0.110 | 547 | 2/28/2025 |
| 5.0.109 | 329 | 2/26/2025 |
| 5.0.108 | 323 | 2/24/2025 |
| 5.0.107 | 478 | 2/15/2025 |
| 5.0.106 | 326 | 2/14/2025 |
| 5.0.105 | 617 | 1/7/2025 |
| 5.0.104 | 414 | 12/30/2024 |
| 5.0.103 | 700 | 11/18/2024 |
| 5.0.102 | 320 | 11/16/2024 |
| 5.0.101 | 560 | 10/14/2024 |
| 5.0.100 | 346 | 10/9/2024 |
| 5.0.99 | 318 | 10/7/2024 |
| 5.0.98 | 305 | 10/3/2024 |
| 5.0.97 | 413 | 9/23/2024 |
| 5.0.96 | 347 | 9/18/2024 |
| 5.0.95 | 306 | 9/16/2024 |
| 5.0.94 | 385 | 9/8/2024 |
| 5.0.93 | 575 | 8/24/2024 |
| 5.0.92 | 444 | 8/9/2024 |
| 5.0.91 | 486 | 8/1/2024 |
| 5.0.90 | 287 | 7/28/2024 |
| 5.0.89 | 502 | 7/4/2024 |
| 5.0.88 | 439 | 6/23/2024 |
| 5.0.87 | 397 | 6/13/2024 |
| 5.0.86 | 381 | 5/30/2024 |
| 5.0.85 | 236 | 5/22/2024 |
| 5.0.84 | 458 | 5/13/2024 |
| 5.0.83 | 486 | 5/5/2024 |
| 5.0.82 | 391 | 4/26/2024 |
| 5.0.81 | 315 | 4/25/2024 |
| 5.0.80 | 374 | 4/12/2024 |
| 5.0.79 | 379 | 4/4/2024 |
| 5.0.78 | 485 | 3/12/2024 |
| 5.0.77 | 284 | 2/23/2024 |
| 5.0.76 | 236 | 2/22/2024 |
| 5.0.75 | 402 | 2/21/2024 |
| 5.0.74 | 410 | 2/14/2024 |
| 5.0.73 | 359 | 2/12/2024 |
| 5.0.72 | 315 | 2/6/2024 |
| 5.0.71 | 365 | 1/31/2024 |
| 5.0.70 | 377 | 1/14/2024 |
| 5.0.69 | 503 | 1/10/2024 |
| 5.0.68 | 541 | 12/15/2023 |
| 5.0.67 | 372 | 12/8/2023 |
| 5.0.66 | 461 | 11/28/2023 |
| 5.0.65 | 280 | 11/28/2023 |
| 5.0.64 | 469 | 10/8/2023 |
| 5.0.63 | 304 | 9/29/2023 |
| 5.0.62 | 265 | 9/19/2023 |
| 5.0.61 | 232 | 9/18/2023 |
| 5.0.60 | 497 | 7/30/2023 |
| 5.0.59 | 386 | 7/10/2023 |
| 5.0.58 | 319 | 7/8/2023 |
| 5.0.57 | 353 | 7/5/2023 |
| 5.0.56 | 359 | 6/22/2023 |
| 5.0.55 | 326 | 6/19/2023 |
| 5.0.54 | 404 | 5/14/2023 |
| 5.0.53 | 353 | 5/8/2023 |
| 5.0.52 | 345 | 4/21/2023 |
| 5.0.51 | 438 | 4/17/2023 |
| 5.0.50 | 416 | 4/7/2023 |
| 5.0.49 | 409 | 4/3/2023 |
| 5.0.48 | 499 | 3/6/2023 |
| 5.0.47 | 402 | 2/23/2023 |
| 5.0.46 | 429 | 2/13/2023 |
| 5.0.45 | 444 | 2/9/2023 |
| 5.0.44 | 387 | 2/8/2023 |
| 5.0.43 | 418 | 2/2/2023 |
| 5.0.42 | 459 | 1/30/2023 |
| 5.0.41 | 562 | 1/3/2023 |
| 5.0.40 | 434 | 12/30/2022 |
| 5.0.39 | 500 | 12/12/2022 |
| 5.0.38 | 452 | 12/8/2022 |
| 5.0.37 | 601 | 11/11/2022 |
| 5.0.36 | 549 | 11/1/2022 |
| 5.0.35 | 571 | 10/16/2022 |
| 5.0.34 | 699 | 9/8/2022 |
| 5.0.33 | 631 | 8/29/2022 |
| 5.0.32 | 595 | 8/24/2022 |
| 5.0.31 | 773 | 7/26/2022 |
| 5.0.30 | 619 | 7/19/2022 |
| 5.0.29 | 903 | 5/13/2022 |
| 5.0.28 | 659 | 4/30/2022 |
| 5.0.27 | 736 | 3/29/2022 |
| 5.0.26 | 622 | 3/25/2022 |
| 5.0.25 | 618 | 3/17/2022 |
| 5.0.24 | 710 | 2/15/2022 |
| 5.0.23 | 628 | 2/11/2022 |
| 5.0.22 | 680 | 2/2/2022 |
| 5.0.21 | 664 | 1/28/2022 |
| 5.0.20 | 623 | 1/26/2022 |
| 5.0.19 | 616 | 1/21/2022 |
| 5.0.18 | 605 | 1/21/2022 |
| 5.0.17 | 632 | 1/13/2022 |
| 5.0.16 | 524 | 12/29/2021 |
| 5.0.15 | 507 | 12/20/2021 |
| 5.0.14 | 498 | 12/11/2021 |
| 5.0.13 | 453 | 12/6/2021 |
| 5.0.12 | 1,107 | 11/29/2021 |
| 5.0.11 | 499 | 11/22/2021 |
| 5.0.10 | 605 | 11/13/2021 |
| 5.0.9 | 560 | 11/8/2021 |
| 5.0.8 | 603 | 11/5/2021 |
| 5.0.7 | 604 | 10/21/2021 |
| 5.0.6 | 538 | 10/14/2021 |
| 5.0.5 | 528 | 10/14/2021 |
| 5.0.4 | 564 | 10/13/2021 |
| 5.0.3 | 529 | 10/11/2021 |
| 5.0.2 | 517 | 10/8/2021 |
| 5.0.1 | 521 | 10/7/2021 |
| 5.0.0 | 610 | 9/23/2021 |