![]() |
VOOZH | about |
dotnet add package StockSharp.Algo --version 5.0.229
NuGet\Install-Package StockSharp.Algo -Version 5.0.229
<PackageReference Include="StockSharp.Algo" Version="5.0.229" />
<PackageVersion Include="StockSharp.Algo" Version="5.0.229" />Directory.Packages.props
<PackageReference Include="StockSharp.Algo" />Project file
paket add StockSharp.Algo --version 5.0.229
#r "nuget: StockSharp.Algo, 5.0.229"
#:package StockSharp.Algo@5.0.229
#addin nuget:?package=StockSharp.Algo&version=5.0.229Install as a Cake Addin
#tool nuget:?package=StockSharp.Algo&version=5.0.229Install as a Cake Tool
StockSharp.Algo is the core algorithmic trading library used throughout the StockSharp platform. It provides the building blocks for creating trading bots, managing market data, handling order routing, and simulating strategies against historical data. The library targets .NET 6.0 and can be used in desktop, server, or cloud applications.
The typical entry point for working with the library is the Connector class. Below is a very simplified example that demonstrates how to run a custom strategy using historical data:
using StockSharp.Algo;
using StockSharp.Algo.Strategies;
using StockSharp.Algo.Testing;
var connector = new HistoryEmulationConnector(securityProvider, portfolioProvider, storageRegistry);
var myStrategy = new MyStrategy { Connector = connector, Portfolio = myPortfolio, Security = mySecurity };
connector.NewStrategy += strategy => strategy.Start();
connector.Connect();
A full‑fledged application will include market data subscriptions, order registration, and more advanced strategy logic.
Comprehensive documentation for the API and subsystems is available at the StockSharp documentation website.
Questions and discussions are welcome in the community chat.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on StockSharp.Algo:
| Package | Downloads |
|---|---|
|
StockSharp.Xaml
Misc graphical components. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.Studio.Core
Core types for UI applications. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.Xaml.Diagram
Visual designer to create trading strategies. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.CSV
CSV connector. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.QuikLua
Trading and algorithmic trading platform (stock markets, forex, bitcoins and options). .NET API for InteractiveBrokers, GainCapital, OANDA, FIX/FAST, Binance etc. More info on web site https://stocksharp.com/products/api/ |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.229 | 4,784 | 9/11/2025 |
| 5.0.228 | 609 | 9/1/2025 |
| 5.0.227 | 546 | 8/30/2025 |
| 5.0.226 | 731 | 8/10/2025 |
| 5.0.225 | 1,115 | 7/23/2025 |
| 5.0.224 | 813 | 7/22/2025 |
| 5.0.223 | 695 | 7/20/2025 |
| 5.0.222 | 1,341 | 7/14/2025 |
| 5.0.221 | 523 | 7/8/2025 |
| 5.0.220 | 479 | 7/4/2025 |
| 5.0.219 | 518 | 6/30/2025 |
| 5.0.218 | 730 | 6/24/2025 |
| 5.0.217 | 473 | 6/20/2025 |
| 5.0.216 | 551 | 6/18/2025 |
| 5.0.215 | 642 | 6/2/2025 |
| 5.0.214 | 763 | 5/14/2025 |
| 5.0.213 | 1,137 | 4/1/2025 |
| 5.0.212 | 467 | 3/29/2025 |
| 5.0.211 | 486 | 3/27/2025 |
| 5.0.210 | 837 | 2/28/2025 |
Level1BinarySerializer. Save last time for trades and quotes separately.