StockSharp.Messages 5.0.226

Prefix Reserved
dotnet add package StockSharp.Messages --version 5.0.226
                    
NuGet\Install-Package StockSharp.Messages -Version 5.0.226
                    
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.Messages" Version="5.0.226" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Messages" Version="5.0.226" />
                    
Directory.Packages.props
<PackageReference Include="StockSharp.Messages" />
                    
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.Messages --version 5.0.226
                    
#r "nuget: StockSharp.Messages, 5.0.226"
                    
#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.Messages@5.0.226
                    
#: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.Messages&version=5.0.226
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Messages&version=5.0.226
                    
Install as a Cake Tool

StockSharp Messages Library

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.

Overview

Core Messages

The library defines messages for all major trading activities:

The project targets .NET Standard 2.0 and .NET 6.0 for cross-platform compatibility.

Usage Example

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.

Documentation

Further details on messages and architecture can be found in the StockSharp documentation.

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 is compatible.  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 (34)

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/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.226 26 3/1/2026
5.0.225 291 2/19/2026
5.0.224 481 2/2/2026
5.0.223 513 11/20/2025
5.0.222 4,016 9/11/2025
5.0.221 935 9/1/2025
5.0.220 1,346 8/30/2025
5.0.219 3,716 8/10/2025
5.0.218 1,298 7/23/2025
5.0.217 2,178 7/20/2025
5.0.216 976 7/14/2025
5.0.215 1,595 7/8/2025
5.0.214 851 7/4/2025
5.0.213 861 6/30/2025
5.0.212 3,396 6/20/2025
5.0.211 1,201 6/18/2025
5.0.210 1,319 6/2/2025
5.0.209 1,430 5/14/2025
5.0.208 2,923 3/29/2025
5.0.207 1,171 3/27/2025
Loading failed

Remove common_target_standard*.props, migrate all projects to common_target_net.props
Suppress OperationCanceledException and ObjectDisposedException noise in adapter wrapper