TradesDiagramElement
StockSharp.Diagram.Elements
Security new trades receiving element.
Inherits: SubscriptionDiagramElement
Constructors
TradesDiagramElement
public TradesDiagramElement()
tradesDiagramElement = TradesDiagramElement()
Initializes a new instance of the DiagramElement.
Properties
IconName
public override string IconName { get; }
value = tradesDiagramElement.IconName
Icon resource name.
TypeId
public override Guid TypeId { get; }
value = tradesDiagramElement.TypeId
The unique identifier of the diagram element type.
Methods
OnCreateSubscription
protected override Subscription OnCreateSubscription(Security security)
result = tradesDiagramElement.OnCreateSubscription(security)
The method is called at the subscribing to market data.
- security
- Security
Returns: Subscription.