IBasketSecurityProcessorProvider
StockSharp.Messages
The interface for provider of IBasketSecurityProcessor.
Properties
AllCodes
public IEnumerable<string> AllCodes { get; }
value = iBasketSecurityProcessorProvider.AllCodes
All registered basket codes.
Methods
Register
public void Register(string basketCode, Type processorType, Type securityType)
iBasketSecurityProcessorProvider.Register(basketCode, processorType, securityType)
Register new security type.
- basketCode
- Basket security type.
- processorType
- Processor type.
- securityType
- Security type.
TryGetProcessorType
public bool TryGetProcessorType(string basketCode, Type processorType)
result = iBasketSecurityProcessorProvider.TryGetProcessorType(basketCode, processorType)
Try get processor type.
- basketCode
- Basket security type.
- processorType
- Processor type.
Returns: if the processor type was found; otherwise, .
TryGetSecurityType
public bool TryGetSecurityType(string basketCode, Type securityType)
result = iBasketSecurityProcessorProvider.TryGetSecurityType(basketCode, securityType)
Try get security type.
- basketCode
- Basket security type.
- securityType
- Security type.
Returns: if the security type was found; otherwise, .
UnRegister
public bool UnRegister(string basketCode)
result = iBasketSecurityProcessorProvider.UnRegister(basketCode)
Remove old security type.
- basketCode
- Basket security type.
Returns: if the code was found and removed; otherwise, .