SubscriptionDiagramElement
StockSharp.Diagram.Elements
支持订阅市场数据的图表元素。
继承自: DiagramElement
构造函数
SubscriptionDiagramElement
protected SubscriptionDiagramElement(string subscriptionCategory)
subscriptionDiagramElement = SubscriptionDiagramElement(subscriptionCategory)
初始化了 & ##SubscriptionDiagramElement+#的新实例.
- subscriptionCategory
- 图表元素参数的类别。
属性
IsManuallySubscription
public bool IsManuallySubscription { get; set; }
value = subscriptionDiagramElement.IsManuallySubscription
subscriptionDiagramElement.IsManuallySubscription = value
订阅信号。
方法
LoadState
protected override void LoadState(SettingsStorage storage)
subscriptionDiagramElement.LoadState(storage)
Loads the state of the element other than its parameters; called after the parameters are loaded.
- storage
- Settings storage.
OnCreateSubscription
protected abstract Subscription OnCreateSubscription(Security security)
result = subscriptionDiagramElement.OnCreateSubscription(security)
这种方法在市场数据的用户处使用。
- security
- 金融工具
返回值: 订阅.
OnStart
protected override void OnStart(DateTime time)
subscriptionDiagramElement.OnStart(time)
该方法在图元素算法的起步时被叫作.