ISecurityMappingStorage
StockSharp.Algo.Storages
Single storage for security identifier mappings.
属性
Mappings : IEnumerable<SecurityIdMapping>
Get all security identifier mappings.
方法
Remove(SecurityId) : bool
Remove security mapping.
- stockSharpId
- StockSharp format.
返回值: if mapping was removed. Otherwise, .
Save(SecurityIdMapping) : bool
Save security identifier mapping.
- mapping
- Security identifier mapping.
返回值: if security mapping was added. If was changed, .
TryGetAdapterId(SecurityId) : SecurityId?
Try get AdapterId.
- stockSharpId
- StockSharp format.
返回值: AdapterId if identifier exists. Otherwise, .
TryGetStockSharpId(SecurityId) : SecurityId?
Try get StockSharpId.
- adapterId
- Adapter format.
返回值: StockSharpId if identifier exists. Otherwise, .
事件
Changed : Action<SecurityIdMapping>
The mapping changed.