![]() |
VOOZH | about |
dotnet add package StockSharp.Messages --version 5.0.234
NuGet\Install-Package StockSharp.Messages -Version 5.0.234
<PackageReference Include="StockSharp.Messages" Version="5.0.234" />
<PackageVersion Include="StockSharp.Messages" Version="5.0.234" />Directory.Packages.props
<PackageReference Include="StockSharp.Messages" />Project file
paket add StockSharp.Messages --version 5.0.234
#r "nuget: StockSharp.Messages, 5.0.234"
#:package StockSharp.Messages@5.0.234
#addin nuget:?package=StockSharp.Messages&version=5.0.234Install as a Cake Addin
#tool nuget:?package=StockSharp.Messages&version=5.0.234Install as a Cake Tool
The Messages project contains the essential message definitions shared across the StockSharp (S#) trading framework. Messages are the contracts used by connectors, adapters and other services for all interactions such as connecting to brokers, requesting market data or placing orders.
The library defines messages for all major trading activities:
The project targets .NET Standard 2.0 and .NET 6.0 for cross-platform compatibility.
Below is a minimal example of creating a market data subscription message:
using StockSharp.Messages;
var mdMessage = new MarketDataMessage
{
DataType2 = DataType.Ticks,
IsSubscribe = true,
TransactionId = 1,
SecurityId = new SecurityId
{
SecurityCode = "AAPL",
BoardCode = "NASDAQ"
}
};
Such messages are passed to an adapter, which forwards them to the broker or data provider.
Further details on messages and architecture can be found in the StockSharp documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. 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.Messages:
| Package | Downloads |
|---|---|
|
StockSharp.BusinessEntities
Trading entities (security, trade etc.). More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.Configuration
Configuration components. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.Fix
FIX/FAST |
|
|
StockSharp.Fix.Core
Fix core. More info on web site https://stocksharp.com/store/ |
|
|
StockSharp.FinViz
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/store/api/ |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.234 | 50 | 6/17/2026 |
| 5.0.233 | 95 | 6/14/2026 |
| 5.0.232 | 156 | 6/8/2026 |
| 5.0.231 | 117 | 6/3/2026 |
| 5.0.230 | 113 | 5/31/2026 |
| 5.0.229 | 189 | 5/4/2026 |
| 5.0.228 | 480 | 3/17/2026 |
| 5.0.227 | 232 | 3/6/2026 |
| 5.0.226 | 160 | 3/1/2026 |
| 5.0.225 | 336 | 2/19/2026 |
| 5.0.224 | 524 | 2/2/2026 |
| 5.0.223 | 561 | 11/20/2025 |
| 5.0.222 | 6,849 | 9/11/2025 |
| 5.0.221 | 1,002 | 9/1/2025 |
| 5.0.220 | 1,390 | 8/30/2025 |
| 5.0.219 | 3,812 | 8/10/2025 |
| 5.0.218 | 1,337 | 7/23/2025 |
| 5.0.217 | 2,239 | 7/20/2025 |
| 5.0.216 | 1,318 | 7/14/2025 |
| 5.0.215 | 1,723 | 7/8/2025 |
Security lookup: apply Skip in paging and honor the forced save flag
Fix sparse market depth spread levels