ISubscriptionHandler

StockSharp.Algo.Strategies

Subscription handler.

实现: ISubscriptionHandler, IDisposable

方法

Bind(IIndicator[], Action<T, decimal[]>) : ISubscriptionHandler<T>

Bind indicator to the subscription.

indicators
Indicators.
callback
Callback.

返回值: ISubscriptionHandler

Bind(Action<T>) : ISubscriptionHandler<T>

Bind the subscription.

callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, Action<T, decimal>) : ISubscriptionHandler<T>

Bind indicator to the subscription.

indicator
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal, decimal, decimal, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
indicator8
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, Action<T, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal, decimal, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Bind(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal, decimal, decimal, decimal, decimal>) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
indicator8
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator[], Action<T, IIndicatorValue[]>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicators
Indicators.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, IIndicator, Action<T, IIndicatorValue, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicators to the subscription.

indicator1
Indicator.
indicator2
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if one of the indicators returns empty value.

返回值: ISubscriptionHandler

BindEx(IIndicator, Action<T, IIndicatorValue>, bool) : ISubscriptionHandler<T>

Bind indicator to the subscription.

indicator
Indicator.
callback
Callback.
allowEmpty
If , then the callback will be called even if the indicator returns empty value.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator[], Action<T, decimal?[]>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicators
Indicators.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, Action<T, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
indicator6
Indicator.
indicator7
Indicator.
indicator8
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, Action<T, decimal?>) : ISubscriptionHandler<T>

Bind indicator to the subscription with possible empty IsEmpty values.

indicator
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

BindWithEmpty(IIndicator, IIndicator, IIndicator, IIndicator, IIndicator, Action<T, decimal?, decimal?, decimal?, decimal?, decimal?>) : ISubscriptionHandler<T>

Bind indicators to the subscription with possible empty IsEmpty values.

indicator1
Indicator.
indicator2
Indicator.
indicator3
Indicator.
indicator4
Indicator.
indicator5
Indicator.
callback
Callback.

返回值: ISubscriptionHandler

Start() : ISubscriptionHandler<T>

Start subscription.

返回值: ISubscriptionHandler

Stop() : ISubscriptionHandler<T>

Start subscription.

返回值: ISubscriptionHandler