StrategyParameterDictionary

StockSharp.Algo.Strategies

IStrategyParam dictionary.

继承自: CachedSynchronizedDictionary<string, IStrategyParam>

实现: IDisposable

构造函数

StrategyParameterDictionary(Strategy)

IStrategyParam dictionary.

strategy
Strategy

属性

Item : IStrategyParam

To get the column by name Name.

name
Column name.

返回值: Found column. If the column does not exist then is returned.

方法

Add(IStrategyParam)

Add parameter.

p
IStrategyParam
Clear()

Clears all adapter states and resets current state to Disconnected.

Dispose()

Disposes of items in the pool that implement IDisposable.

Remove(IStrategyParam) : bool

Remove parameter.

p
IStrategyParam
TryGetById(string, IStrategyParam) : bool

Try get parameter by the specified Id.

id
Id
param
IStrategyParam or if parameter not exist.

返回值: if parameter exist.