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
- тип финансового инструмента.
Возвращает: если тип финансового инструмента найден; в противном случае, .
UnRegister
public bool UnRegister(string basketCode)
result = iBasketSecurityProcessorProvider.UnRegister(basketCode)
Удалить старый тип финансового инструмента.
- basketCode
- Тип финансового инструмента корзины.
Возвращает: если код был найден и удален; в противном случае, .