MarketDepthDiagramElement

StockSharp.Diagram.Elements

Security market depth changes receiving element.

Inherits: SubscriptionDiagramElement

Constructors

MarketDepthDiagramElement
public MarketDepthDiagramElement()
marketDepthDiagramElement = MarketDepthDiagramElement()

Initializes a new instance of the DiagramElement.

Properties

IconName
public override string IconName { get; }
value = marketDepthDiagramElement.IconName

Icon resource name.

SupportEmptyDepth
public bool SupportEmptyDepth { get; set; }
value = marketDepthDiagramElement.SupportEmptyDepth
marketDepthDiagramElement.SupportEmptyDepth = value

Translates empty depth.

TypeId
public override Guid TypeId { get; }
value = marketDepthDiagramElement.TypeId

The unique identifier of the diagram element type.

Methods

OnCreateSubscription
protected override Subscription OnCreateSubscription(Security security)
result = marketDepthDiagramElement.OnCreateSubscription(security)

The method is called at the subscribing to market data.

security
Security

Returns: Subscription.