ISecurityMappingStorage

StockSharp.Algo.Storages

Single storage for security identifier mappings.

Eigenschaften

Mappings : IEnumerable<SecurityIdMapping>

Get all security identifier mappings.

Methoden

Remove(SecurityId) : bool

Remove security mapping.

stockSharpId
StockSharp format.

Rückgabe: if mapping was removed. Otherwise, .

Save(SecurityIdMapping) : bool

Save security identifier mapping.

mapping
Security identifier mapping.

Rückgabe: if security mapping was added. If was changed, .

TryGetAdapterId(SecurityId) : SecurityId?

Try get AdapterId.

stockSharpId
StockSharp format.

Rückgabe: AdapterId if identifier exists. Otherwise, .

TryGetStockSharpId(SecurityId) : SecurityId?

Try get StockSharpId.

adapterId
Adapter format.

Rückgabe: StockSharpId if identifier exists. Otherwise, .

Ereignisse

Changed : Action<SecurityIdMapping>

The mapping changed.