The StockSharp.Diagram.Core project contains the core components of the visual strategy builder without depending on a specific user interface. A diagram is represented as a set of typed elements, input and output sockets, and connections between them. Composite elements can embed one diagram inside another and expose the parameters and sockets of child nodes.
DiagramStrategy runs such a diagram as a regular StockSharp strategy. This means the same model can be backtested, optimized, and used in a trading application. The core includes elements for market data, indicators, logical and mathematical operations, orders, positions, options, subscriptions, charts, and notifications. It also provides undo/redo interfaces and a mechanism for adding external C# or Python code as a diagram element.
A separate in-memory composition model assigns stable keys to nodes and reports changes to elements, connections, and sockets. This allows the execution core, diagram storage, and visual editor to evolve independently.
Comentários (0)
Entrar ou Criar conta, Faça login ou cadastre-se para deixar um comentário
Ainda sem comentários. Seja o primeiro!