IMarketDataDrive

StockSharp.Algo.Storages

Die Schnittstelle, die den Speicher beschreibt (Datenbank, Datei usw.).

Implementiert: IPersistable, IDisposable

Eigenschaften

Path
public string Path { get; }
value = iMarketDataDrive.Path

Pfad zu Marktdaten.

Methoden

GetAvailableDataTypesAsync
public IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = iMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)

Holen Sie sich alle verfügbaren Datentypen.

securityId
Instrumentenkennung.
format
Formattyp.

Rückgabe: Datentypen.

GetAvailableSecuritiesAsync
public IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = iMarketDataDrive.GetAvailableSecuritiesAsync()

Holen Sie sich alle verfügbaren Instrumente.

Rückgabe: Verfügbare Instrumente.

GetStorageDrive
public IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = iMarketDataDrive.GetStorageDrive(securityId, dataType, format)

Um den Speicher für IMarketDataStorage zu erhalten.

securityId
Kennung des Finanzinstruments.
dataType
Datenart-Info.
format
Formattyp.

Rückgabe: Speicher für IMarketDataStorage.

LookupSecuritiesAsync
public IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = iMarketDataDrive.LookupSecuritiesAsync(criteria, securityProvider)

Laden Sie Finanzinstrumente nach den angegebenen Kriterien herunter.

criteria
Nachrichten-Finanzinstrument-Suche nach festgelegten Kriterien.
securityProvider
Der Anbieter von Informationen über Instrumente.

Rückgabe: Die Reihenfolge der gefundenen Instrumente.

VerifyAsync
public ValueTask VerifyAsync(CancellationToken cancellationToken)
result = iMarketDataDrive.VerifyAsync(cancellationToken)

Überprüfen Sie die Einstellungen.

cancellationToken
CancellationToken

Rückgabe: ValueTask