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