CsvSecurityMappingStorage

StockSharp.Algo.Storages.CsvSecurityMappingStorageProvider

実装: ISecurityMappingStorage

プロパティ

Mappings
public IEnumerable<SecurityIdMapping> Mappings { get; }
value = csvSecurityMappingStorage.Mappings

金融商品識別子マッピングをすべて取得します。

メソッド

Remove
public bool Remove(SecurityId stockSharpId)
result = csvSecurityMappingStorage.Remove(stockSharpId)

金融商品マッピングを削除します。

stockSharpId
StockSharp format.

戻り値: マッピングが削除された場合。 それ以外の場合は、 .

Save
public bool Save(SecurityIdMapping mapping)
result = csvSecurityMappingStorage.Save(mapping)

金融商品識別子マッピングを保存します。

mapping
金融商品識別子マッピング。

戻り値: 金融商品マッピングを追加した場合。変更があった場合は、.

TryGetAdapterId
public SecurityId? TryGetAdapterId(SecurityId stockSharpId)
result = csvSecurityMappingStorage.TryGetAdapterId(stockSharpId)

Try get AdapterId.

stockSharpId
StockSharp format.

戻り値: AdapterId識別子が存在する場合。 それ以外の場合は、.

TryGetStockSharpId
public SecurityId? TryGetStockSharpId(SecurityId adapterId)
result = csvSecurityMappingStorage.TryGetStockSharpId(adapterId)

Try get StockSharpId.

adapterId
アダプターのフォーマット。

戻り値: StockSharpId識別子が存在する場合。 それ以外の場合は、.

イベント

Changed
public event Action<SecurityIdMapping> Changed
csvSecurityMappingStorage.Changed += handler

協会が変更されました。