StockSharp.Messages 5.0.223

Prefix Reserved
dotnet add package StockSharp.Messages --version 5.0.223
                    
NuGet\Install-Package StockSharp.Messages -Version 5.0.223
                    
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.223" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Messages" Version="5.0.223" />
                    
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.223
                    
#r "nuget: StockSharp.Messages, 5.0.223"
                    
#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.223
                    
#: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.223
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Messages&version=5.0.223
                    
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 net5.0 was computed.  net5.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.Core

Fix core. More info on web site https://stocksharp.com/store/

StockSharp.Fix

FIX/FAST

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.223 432 11/20/2025
5.0.222 3,378 9/11/2025
5.0.221 912 9/1/2025
5.0.220 1,328 8/30/2025
5.0.219 3,533 8/10/2025
5.0.218 1,278 7/23/2025
5.0.217 2,145 7/20/2025
5.0.216 906 7/14/2025
5.0.215 1,441 7/8/2025
5.0.214 818 7/4/2025
5.0.213 843 6/30/2025
5.0.212 3,364 6/20/2025
5.0.211 1,186 6/18/2025
5.0.210 1,303 6/2/2025
5.0.209 1,411 5/14/2025
5.0.208 2,890 3/29/2025
5.0.207 1,150 3/27/2025
5.0.206 2,246 2/26/2025
5.0.205 2,401 2/14/2025
5.0.204 3,137 2/5/2025
5.0.203 400 2/4/2025
5.0.202 3,241 12/30/2024
5.0.201 2,270 11/18/2024
5.0.200 1,094 11/18/2024
5.0.199 1,389 11/16/2024
5.0.198 1,811 10/14/2024
5.0.197 1,849 10/9/2024
5.0.196 1,296 10/7/2024
5.0.195 1,305 10/3/2024
5.0.194 1,040 9/23/2024
5.0.193 1,408 9/18/2024
5.0.192 2,516 9/16/2024
5.0.191 1,664 9/8/2024
5.0.190 1,920 8/24/2024
5.0.189 1,734 8/9/2024
5.0.188 1,776 8/1/2024
5.0.187 2,577 7/28/2024
5.0.186 2,584 7/4/2024
5.0.185 1,516 6/23/2024
5.0.184 1,485 6/13/2024
5.0.183 2,846 5/30/2024
5.0.182 969 5/22/2024
5.0.181 1,345 5/13/2024
5.0.180 1,577 5/5/2024
5.0.179 987 4/26/2024
5.0.178 1,353 4/25/2024
5.0.177 3,027 4/12/2024
5.0.176 2,103 4/4/2024
5.0.175 606 3/29/2024
5.0.174 1,877 3/12/2024
5.0.173 3,135 2/21/2024
5.0.172 1,717 2/14/2024
5.0.171 1,611 2/12/2024
5.0.170 1,911 2/6/2024
5.0.169 1,934 1/31/2024
5.0.168 4,131 1/10/2024
5.0.167 4,023 12/15/2023
5.0.166 2,719 12/8/2023
5.0.165 2,904 11/28/2023
5.0.164 2,410 11/28/2023
5.0.163 8,941 10/8/2023
5.0.162 6,187 9/29/2023
5.0.161 6,334 9/19/2023
5.0.160 1,858 9/18/2023
5.0.159 10,781 7/30/2023
5.0.158 9,048 7/10/2023
5.0.157 8,530 7/8/2023
5.0.156 8,855 7/5/2023
5.0.155 3,270 6/22/2023
5.0.154 9,005 6/19/2023
5.0.153 14,758 5/14/2023
5.0.152 9,989 5/8/2023
5.0.151 14,310 4/21/2023
5.0.150 10,644 4/17/2023
5.0.149 11,772 4/7/2023
5.0.148 11,225 4/3/2023
5.0.147 16,801 3/6/2023
5.0.146 14,227 2/23/2023
5.0.145 15,288 2/13/2023
5.0.144 14,636 2/9/2023
5.0.143 14,294 2/8/2023
5.0.142 1,846 2/8/2023
5.0.141 15,929 2/2/2023
5.0.140 15,722 1/30/2023
5.0.139 22,670 1/3/2023
5.0.138 18,110 12/30/2022
5.0.137 18,429 12/12/2022
5.0.136 18,604 12/8/2022
5.0.135 26,321 11/11/2022
5.0.134 21,816 11/1/2022
5.0.133 22,622 10/16/2022
5.0.132 49,231 9/8/2022
5.0.131 43,834 8/29/2022
5.0.130 44,512 8/24/2022
5.0.129 51,107 7/26/2022
5.0.128 44,260 7/19/2022
5.0.127 51,208 5/13/2022
5.0.126 43,938 4/30/2022
5.0.125 9,436 3/29/2022
5.0.124 50,761 3/25/2022
5.0.123 44,741 3/17/2022
5.0.122 54,222 2/15/2022
5.0.121 46,527 2/11/2022
5.0.120 15,615 2/2/2022
5.0.119 11,636 1/28/2022
5.0.118 43,188 1/26/2022
5.0.117 43,681 1/21/2022
5.0.116 43,191 1/21/2022
5.0.115 48,112 1/13/2022
5.0.114 27,074 12/29/2021
5.0.113 27,195 12/20/2021
5.0.112 27,168 12/11/2021
5.0.111 27,315 12/6/2021
5.0.110 29,361 11/29/2021
5.0.109 27,239 11/22/2021
5.0.108 28,194 11/13/2021
5.0.107 30,159 11/8/2021
5.0.106 2,203 11/8/2021
5.0.105 30,824 11/5/2021
5.0.104 31,067 10/21/2021
5.0.103 30,524 10/14/2021
5.0.102 30,666 10/14/2021
5.0.101 2,964 10/13/2021
5.0.100 5,809 10/13/2021
5.0.99 31,290 10/11/2021
5.0.98 32,314 10/8/2021
5.0.97 5,203 10/7/2021
5.0.96 31,162 10/7/2021
5.0.95 32,678 9/23/2021
5.0.94 30,318 9/7/2021
5.0.93 30,991 7/31/2021
5.0.92 29,640 7/30/2021
5.0.91 29,238 7/30/2021
5.0.90 29,134 7/19/2021
5.0.89 29,678 7/13/2021
5.0.88 29,715 7/5/2021
5.0.87 31,135 6/16/2021
5.0.86 30,373 6/4/2021
5.0.85 29,846 5/15/2021
5.0.84 30,092 4/30/2021
5.0.83 29,986 4/26/2021
5.0.82 30,076 4/19/2021
5.0.81 29,422 4/16/2021
5.0.80 29,395 4/13/2021
5.0.79 29,293 4/12/2021
5.0.78 29,859 4/8/2021
5.0.77 29,355 4/7/2021
5.0.76 29,236 4/6/2021
5.0.75 29,498 3/29/2021
5.0.74 29,530 3/28/2021
5.0.73 29,671 3/26/2021
5.0.72 29,279 3/26/2021
5.0.71 29,101 3/24/2021
5.0.70 28,065 3/23/2021
5.0.69 27,933 3/18/2021
5.0.68 27,581 3/17/2021
5.0.67 27,809 3/12/2021
5.0.66 27,893 3/4/2021
5.0.65 4,058 3/4/2021
5.0.64 27,874 2/26/2021
5.0.63 28,161 2/17/2021
5.0.62 27,526 2/15/2021
5.0.61 27,383 2/13/2021
5.0.60 27,588 2/12/2021
5.0.59 28,163 2/7/2021
5.0.58 27,504 2/2/2021
5.0.57 27,472 2/2/2021
5.0.56 27,887 1/26/2021
5.0.55 27,473 1/25/2021
5.0.54 27,292 1/25/2021
5.0.53 28,166 1/21/2021
5.0.52 27,755 1/20/2021
5.0.51 27,567 1/19/2021
5.0.50 26,453 1/16/2021
5.0.49 27,881 1/14/2021
5.0.48 28,459 12/29/2020
5.0.47 28,839 12/23/2020
5.0.46 28,311 12/18/2020
5.0.45 54,488 12/14/2020
5.0.44 31,148 12/10/2020
5.0.43 29,289 12/1/2020
5.0.43-a3 2,429 11/30/2020
5.0.43-a2 2,422 11/30/2020
5.0.42 32,381 11/29/2020
5.0.41 27,520 11/22/2020
5.0.40 27,417 11/22/2020
5.0.40-a7 20,696 11/22/2020
5.0.40-a6 21,172 11/22/2020
5.0.40-a3 2,330 11/19/2020
5.0.39 30,913 11/13/2020
5.0.38 28,296 10/11/2020
5.0.37 28,453 9/20/2020
5.0.36 26,897 9/18/2020
5.0.35 28,083 9/15/2020
5.0.34 27,074 9/9/2020
5.0.33 26,944 9/3/2020
5.0.32 27,598 8/21/2020
5.0.31 27,705 8/11/2020
5.0.30 27,393 8/10/2020
5.0.29 27,949 8/10/2020
5.0.28 27,022 7/28/2020
5.0.27 26,989 7/19/2020
5.0.26 26,819 7/9/2020
5.0.25 26,699 7/7/2020
5.0.24 27,905 6/10/2020
5.0.23 27,392 6/9/2020
5.0.22 27,689 6/9/2020
5.0.21 28,171 6/4/2020
5.0.20 27,823 6/2/2020
5.0.19 27,600 5/29/2020
5.0.18 27,756 5/25/2020
5.0.17 27,678 5/21/2020
5.0.16 28,072 5/14/2020
5.0.15 28,123 5/12/2020
5.0.14 28,279 5/11/2020
5.0.13 28,317 5/9/2020
5.0.12 28,290 5/5/2020
5.0.11 28,230 5/4/2020
5.0.10 3,693 4/24/2020
5.0.9 5,302 4/22/2020
5.0.8 29,722 4/18/2020
5.0.7 27,801 4/16/2020
5.0.6 23,469 4/15/2020
5.0.5 919 4/14/2020
5.0.4 24,896 4/12/2020
5.0.3 955 4/6/2020
5.0.2 24,558 4/4/2020
5.0.1 10,185 3/27/2020
5.0.0 10,138 3/26/2020

.net 10 supported
ISecurityProvider. Async mode.
GetCandleBounds. Fix weekly and monthly tf calc.
DateTimeOffset -> DateTime UTC
OrderGroupCancelModes
NewsMessage. ISecurityIdMessage implemented.
IMessageAdapterProvider. CreateTransportAdapter uses IAsyncMessageAdapter.
IMessageAdapter. SendOutMessage
IAsyncMessageAdapter
GetTradeVolume extension.
Unit. Fix percentage multiply.
AsyncMessageProcessor. Fix dispose cancellation tokens.
SubscriptionHolder inherited from Disposable.
SubscriptionHolder
ISnapshotHolder
DataType. Candle alias supported.
DataType. Custom aliases supported.
IDataTypeMessage interface.
ExecutionTypes made as internal only.
DataType. Immutable returns copy.
MarketDataTypes removed as obsolete.
ExecutionMessage. ExecutionType removed as obsolete.
Message. IsBack removed as obsolete.
ICandleMessage. GetTypicalPrice, GetMedianPrice extensions.
DataType. ToSerializableString uses aliases.
DataType. ToSerializableString, FromSerializableString fixes.
FromMicexCurrencyName. Param errorHandler is required.