VOOZH about

URL: https://www.nuget.org/packages/StockSharp.Diagram.Core/

⇱ NuGet Gallery | StockSharp.Diagram.Core 5.0.109




👁 Image
StockSharp.Diagram.Core 5.0.109

Prefix Reserved
dotnet add package StockSharp.Diagram.Core --version 5.0.109
 
 
NuGet\Install-Package StockSharp.Diagram.Core -Version 5.0.109
 
 
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.Diagram.Core" Version="5.0.109" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Diagram.Core" Version="5.0.109" />
 
Directory.Packages.props
<PackageReference Include="StockSharp.Diagram.Core" />
 
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.Diagram.Core --version 5.0.109
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StockSharp.Diagram.Core, 5.0.109"
 
 
#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.Diagram.Core@5.0.109
 
 
#: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.Diagram.Core&version=5.0.109
 
Install as a Cake Addin
#tool nuget:?package=StockSharp.Diagram.Core&version=5.0.109
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Diagram.Core

Diagram.Core provides the fundamental building blocks for StockSharp's visual strategy designer. It contains the classes that allow trading algorithms to be represented as diagrams and executed as regular strategies.

Overview

  • Diagram Elements and Sockets — base types such as DiagramElement and DiagramSocket define nodes and their connection points. Elements can emit and receive values to build complex trading logic.
  • Composite ElementsCompositionDiagramElement manages nested diagrams and exposes parameters and sockets of child elements.
  • Strategy IntegrationDiagramStrategy runs a diagram as a regular Strategy, enabling optimization and backtesting.
  • Undo/Redo Support — interfaces like IUndoManager provide transaction based change tracking.
  • External Code — the DiagramExternalAttribute allows methods to be exposed as diagram elements. A small helper script (python/designer_extensions.py) makes this available in Python.

Getting Started

  1. Reference StockSharp.Diagram.Core from your project (via the StockSharp NuGet feed or by adding the project to your solution).
  2. Create diagram elements by deriving from DiagramElement and define sockets and parameters.
  3. Combine elements inside a CompositionDiagramElement or execute them through DiagramStrategy.

Example of exposing a Python function as an external element:

import clr
clr.AddReference("StockSharp.Diagram.Core")
from StockSharp.Diagram import DiagramExternalAttribute

# Decorator to mark methods as external diagram elements
def diagram_external(func):
 func.__dict__['__diagram_external__'] = DiagramExternalAttribute()
 return func

The above decorator adds the DiagramExternalAttribute to Python functions so they can be used in the Designer.

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on StockSharp.Diagram.Core:

Package Downloads
StockSharp.Xaml.Diagram

Visual designer to create trading strategies. More info on web site https://stocksharp.com/store/

StockSharp.Studio.Runner

Runner - cross platform application to run any types of strategies

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.109 1,246 9/11/2025
5.0.108 396 9/1/2025
5.0.107 321 8/30/2025
5.0.106 392 8/10/2025
5.0.105 713 7/23/2025
5.0.104 667 7/22/2025
5.0.103 418 7/20/2025
5.0.102 310 7/14/2025
5.0.101 304 7/8/2025
5.0.100 274 7/4/2025
5.0.99 314 6/30/2025
5.0.98 514 6/24/2025
5.0.97 354 6/20/2025
5.0.96 369 6/18/2025
5.0.95 510 6/2/2025
5.0.94 630 5/14/2025
5.0.93 914 4/1/2025
5.0.92 331 3/29/2025
5.0.91 323 3/27/2025
5.0.90 657 2/28/2025
Loading failed