IBasketSecurityProcessorProvider

StockSharp.Messages

IBasketSecurityProcessor供应商的接口.

属性

AllCodes
public IEnumerable<string> AllCodes { get; }
value = iBasketSecurityProcessorProvider.AllCodes

所有注册篮子代码。

方法

Register
public void Register(string basketCode, Type processorType, Type securityType)
iBasketSecurityProcessorProvider.Register(basketCode, processorType, securityType)

注册新的金融工具类型。

basketCode
篮子金融工具类型.
processorType
处理器类型 。
securityType
金融工具类型。
TryGetProcessorType
public bool TryGetProcessorType(string basketCode, Type processorType)
result = iBasketSecurityProcessorProvider.TryGetProcessorType(basketCode, processorType)

尝试获得处理器类型 。

basketCode
篮子金融工具类型.
processorType
处理器类型 。

返回值: 如果找到处理器类型;否则,

TryGetSecurityType
public bool TryGetSecurityType(string basketCode, Type securityType)
result = iBasketSecurityProcessorProvider.TryGetSecurityType(basketCode, securityType)

试着找金融工具类型。

basketCode
篮子金融工具类型.
securityType
金融工具类型。

返回值: (a) 如果发现金融工具类型;

UnRegister
public bool UnRegister(string basketCode)
result = iBasketSecurityProcessorProvider.UnRegister(basketCode)

删除旧的金融工具类型。

basketCode
篮子金融工具类型.

返回值: 如果找到并删除了代码;否则,