StockSharp.Alerts.Interfaces 5.0.92

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

StockSharp.Alerts.Interfaces

Overview

StockSharp.Alerts.Interfaces provides the common interfaces and data types required to implement alert systems within the StockSharp trading platform. The package defines a standard way for libraries or applications to create, configure, and deliver notifications when specific trading conditions occur.

This project only contains contracts and helper classes. Actual implementations of notification channels or alert processing engines are expected to be provided by other StockSharp components or by third‑party libraries.

Key Components

The library exposes several core types that can be used to build a fully featured alert system:

  • AlertNotifications – an enumeration describing possible notification channels such as sound, desktop popups, log files and Telegram.
  • AlertServicesRegistry – static helpers that retrieve alert services from the current dependency injection container.
  • IAlertNotificationService / IDesktopPopupService – interfaces used to send alerts through various channels.
  • IAlertProcessingService – the main contract for managing alert schemas and evaluating incoming messages.
  • AlertRuleField, AlertRule and AlertSchema – classes used to describe alert conditions and related metadata.

These components are designed to work with StockSharp message types (ExecutionMessage, QuoteChangeMessage, etc.) and rely on other StockSharp assemblies such as StockSharp.BusinessEntities and StockSharp.Messages.

Installation

Alternatively, reference StockSharp.Alerts.Interfaces from your own project by adding the corresponding project or NuGet package reference.

Usage Example

Below is a simplified example illustrating how to create an alert schema and register it with an alert processing service:

using StockSharp.Alerts;
using StockSharp.Messages;

var schema = new AlertSchema(typeof(ExecutionMessage))
{
    AlertType = AlertNotifications.Telegram,
    Caption   = "Large trade",
    Message   = "A trade larger than expected has appeared",
};

schema.Rules.Add(new AlertRule
{
    Field    = new AlertRuleField(typeof(ExecutionMessage).GetProperty(nameof(ExecutionMessage.TradePrice))),
    Operator = ComparisonOperator.Greater,
    Value    = 1000m,
});

AlertServicesRegistry.ProcessingService.Register(schema);

When the IAlertProcessingService receives an ExecutionMessage that satisfies the rule, the configured notification service will deliver a message to the selected channel.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on StockSharp.Alerts.Interfaces:

Package Downloads
StockSharp.Alerts

Alerts components triggered by market conditions. More info on web site https://stocksharp.com/store/

StockSharp.Diagram.Core

S#.Diagram.Core More info on web site https://stocksharp.com/store/

StockSharp.Studio.WebApi

Community types. More info on web site https://stocksharp.com/store/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.92 526 7/23/2025
5.0.91 196 7/20/2025
5.0.90 296 7/14/2025
5.0.89 282 7/8/2025
5.0.88 236 7/4/2025
5.0.87 296 6/30/2025
5.0.86 540 6/20/2025
5.0.85 273 6/18/2025
5.0.84 393 6/2/2025
5.0.83 499 5/14/2025
5.0.82 908 3/29/2025
5.0.81 253 3/27/2025
5.0.80 782 2/26/2025
5.0.79 602 2/15/2025
5.0.78 335 2/14/2025
5.0.77 761 1/7/2025
5.0.76 432 12/30/2024
5.0.75 857 11/18/2024
5.0.74 309 11/16/2024
5.0.73 693 10/14/2024
5.0.72 309 10/9/2024
5.0.71 282 10/7/2024
5.0.70 278 10/3/2024
5.0.69 394 9/23/2024
5.0.68 296 9/18/2024
5.0.67 301 9/16/2024
5.0.66 410 9/8/2024
5.0.65 663 8/24/2024
5.0.64 506 8/9/2024
5.0.63 480 8/1/2024
5.0.62 263 7/28/2024
5.0.61 549 7/4/2024
5.0.60 446 6/23/2024
5.0.59 402 6/13/2024
5.0.58 399 5/30/2024
5.0.57 322 5/22/2024
5.0.56 460 5/13/2024
5.0.55 478 5/5/2024
5.0.54 370 4/26/2024
5.0.53 362 4/25/2024
5.0.52 394 4/12/2024
5.0.51 382 4/4/2024
5.0.50 560 3/12/2024
5.0.49 654 2/21/2024
5.0.48 430 2/14/2024
5.0.47 339 2/12/2024
5.0.46 343 2/6/2024
5.0.45 430 1/31/2024
5.0.44 870 1/10/2024
5.0.43 669 12/15/2023
5.0.42 486 12/8/2023
5.0.41 553 11/28/2023
5.0.40 334 11/28/2023
5.0.39 840 10/8/2023
5.0.38 557 9/29/2023
5.0.37 615 9/19/2023
5.0.36 160 9/18/2023
5.0.35 996 7/30/2023
5.0.34 656 7/10/2023
5.0.33 430 7/8/2023
5.0.32 471 7/5/2023
5.0.31 480 6/22/2023
5.0.30 500 6/19/2023
5.0.29 833 5/14/2023
5.0.28 525 5/8/2023
5.0.27 675 4/21/2023
5.0.26 838 4/17/2023
5.0.25 765 4/7/2023
5.0.24 603 4/3/2023
5.0.23 1,157 3/6/2023
5.0.22 941 2/23/2023
5.0.21 903 2/13/2023
5.0.20 914 2/9/2023
5.0.19 812 2/8/2023
5.0.18 951 2/2/2023
5.0.17 957 1/30/2023
5.0.16 1,627 1/3/2023
5.0.15 1,054 12/30/2022
5.0.14 1,529 12/12/2022
5.0.13 1,219 12/8/2022
5.0.12 1,575 11/11/2022
5.0.11 1,329 11/1/2022
5.0.10 1,577 10/16/2022
5.0.9 2,546 9/8/2022
5.0.8 2,010 8/29/2022
5.0.7 1,977 8/24/2022
5.0.6 1,805 7/26/2022
5.0.5 1,371 7/19/2022
5.0.4 2,443 5/13/2022
5.0.3 1,444 4/30/2022
5.0.2 1,758 3/29/2022
5.0.1 1,432 3/25/2022
5.0.0 932 3/17/2022