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.