INativeIdStorage
Einmalige Speicherung für native Finanzinstrument-Kennungen.
Methoden
public ValueTask ClearAsync(CancellationToken cancellationToken)
result = iNativeIdStorage.ClearAsync(cancellationToken)
Deutliche Lagerung.
- cancellationToken
- CancellationToken
public ValueTask<ValueTuple<SecurityId, object>[]> GetAsync(CancellationToken cancellationToken)
result = iNativeIdStorage.GetAsync(cancellationToken)
Holen Sie sich alle nativen Finanzinstrument-Identifikatoren.
- cancellationToken
- CancellationToken
Rückgabe: Finanzinstrumentkennungen.
public ValueTask<bool> RemoveByNativeIdAsync(object nativeId, bool isPersistable, CancellationToken cancellationToken)
result = iNativeIdStorage.RemoveByNativeIdAsync(nativeId, isPersistable, cancellationToken)
Entfernen durch native Identifier.
- nativeId
- Kennung des Finanzinstruments des nativen (internen) Handelssystems.
- isPersistable
- Speichern Sie den Identifier als permanent.
- cancellationToken
- CancellationToken
Rückgabe: Betriebsergebnis.
public ValueTask<bool> RemoveBySecurityIdAsync(SecurityId securityId, bool isPersistable, CancellationToken cancellationToken)
result = iNativeIdStorage.RemoveBySecurityIdAsync(securityId, isPersistable, cancellationToken)
Von der Finanzinstrumentkennung entfernen.
- securityId
- Finanzinstrumentkennung.
- isPersistable
- Speichern Sie den Identifier als permanent.
- cancellationToken
- CancellationToken
Rückgabe: Betriebsergebnis.
public ValueTask<bool> TryAddAsync(SecurityId securityId, object nativeId, bool isPersistable, CancellationToken cancellationToken)
result = iNativeIdStorage.TryAddAsync(securityId, nativeId, isPersistable, cancellationToken)
Versuchen Sie, eine native Finanzinstrument-Kennung hinzuzufügen.
- securityId
- Finanzinstrumentkennung.
- nativeId
- Kennung des Finanzinstruments des nativen (internen) Handelssystems.
- isPersistable
- Speichern Sie den Identifier als permanent.
- cancellationToken
- CancellationToken
Rückgabe: wenn nativer Identifikator hinzugefügt wurde.
public ValueTask<SecurityId?> TryGetByNativeIdAsync(object nativeId, CancellationToken cancellationToken)
result = iNativeIdStorage.TryGetByNativeIdAsync(nativeId, cancellationToken)
Versuchen Sie, die Finanzinstrument-Kennung nach nativer Kennung zu erhalten.
- nativeId
- Kennung des Finanzinstruments des nativen (internen) Handelssystems.
- cancellationToken
- CancellationToken
Rückgabe: Finanzinstrumentkennung.
public ValueTask<object> TryGetBySecurityIdAsync(SecurityId securityId, CancellationToken cancellationToken)
result = iNativeIdStorage.TryGetBySecurityIdAsync(securityId, cancellationToken)
Versuchen Sie, eine native Finanzinstrument-Kennung nach Kennung zu erhalten.
- securityId
- Finanzinstrumentkennung.
- cancellationToken
- CancellationToken
Rückgabe: Kennung des Finanzinstruments des nativen (internen) Handelssystems.
Ereignisse
public event Func<SecurityId, object, CancellationToken, ValueTask> Added
iNativeIdStorage.Added += handler
Die neue native Finanzinstrumentkennung, die der Speicherung hinzugefügt wurde.