RemoteMarketDataDrive
Fernspeicherung von Marktdaten arbeiten über RemoteStorageClient.
Erbt von: BaseMarketDataDrive
Konstruktoren
public RemoteMarketDataDrive()
remoteMarketDataDrive = RemoteMarketDataDrive()
Initialisiert eine neue Instanz von RemoteMarketDataDrive.
public RemoteMarketDataDrive(EndPoint address)
remoteMarketDataDrive = RemoteMarketDataDrive(address)
Initialisiert eine neue Instanz von RemoteMarketDataDrive.
- address
- Serveradresse.
public RemoteMarketDataDrive(EndPoint address, IMessageAdapter adapter)
remoteMarketDataDrive = RemoteMarketDataDrive(address, adapter)
Initialisiert eine neue Instanz von RemoteMarketDataDrive.
- address
- Serveradresse.
- adapter
- Nachrichtenadapter.
Eigenschaften
public EndPoint Address { get; set; }
value = remoteMarketDataDrive.Address
remoteMarketDataDrive.Address = value
Serveradresse.
public ServerCredentials Credentials { get; }
value = remoteMarketDataDrive.Credentials
Informationen über das Login und das Passwort für den Zugriff auf den Remote-Speicher.
public ILogSource Logs { get; set; }
value = remoteMarketDataDrive.Logs
remoteMarketDataDrive.Logs = value
Logarithmus.
public override string Path { get; set; }
value = remoteMarketDataDrive.Path
remoteMarketDataDrive.Path = value
Pfad zu Marktdaten.
public int SecurityBatchSize { get; set; }
value = remoteMarketDataDrive.SecurityBatchSize
remoteMarketDataDrive.SecurityBatchSize = value
Die neuen Instrumente verlangen Blockgröße an. Standardmäßig sind es nicht mehr als 1000 Elemente.
public string TargetCompId { get; set; }
value = remoteMarketDataDrive.TargetCompId
remoteMarketDataDrive.TargetCompId = value
Ziel-ID.
public TimeSpan Timeout { get; set; }
value = remoteMarketDataDrive.Timeout
remoteMarketDataDrive.Timeout = value
Timeout
Methoden
protected override void DisposeManaged()
remoteMarketDataDrive.DisposeManaged()
Ressourcen freigeben.
public override IAsyncEnumerable<DataType> GetAvailableDataTypesAsync(SecurityId securityId, StorageFormats format)
result = remoteMarketDataDrive.GetAvailableDataTypesAsync(securityId, format)
Holen Sie sich alle verfügbaren Datentypen.
- securityId
- Instrumentenkennung.
- format
- Formattyp.
Rückgabe: Datentypen.
public override IAsyncEnumerable<SecurityId> GetAvailableSecuritiesAsync()
result = remoteMarketDataDrive.GetAvailableSecuritiesAsync()
Holen Sie sich alle verfügbaren Instrumente.
Rückgabe: Verfügbare Instrumente.
public override IMarketDataStorageDrive GetStorageDrive(SecurityId securityId, DataType dataType, StorageFormats format)
result = remoteMarketDataDrive.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.
public override void Load(SettingsStorage storage)
remoteMarketDataDrive.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
public override IAsyncEnumerable<SecurityMessage> LookupSecuritiesAsync(SecurityLookupMessage criteria, ISecurityProvider securityProvider)
result = remoteMarketDataDrive.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.
public override void Save(SettingsStorage storage)
remoteMarketDataDrive.Save(storage)
Einstellungen speichern.
- storage
- Einstellungen Lagerung.
public override ValueTask VerifyAsync(CancellationToken cancellationToken)
result = remoteMarketDataDrive.VerifyAsync(cancellationToken)
Überprüfen Sie die Einstellungen.
- cancellationToken
- CancellationToken
Rückgabe: ValueTask
Felder
public static readonly EndPoint DefaultAddress
value = RemoteMarketDataDrive.DefaultAddress
Standardwert für Adresse.
public static readonly string DefaultTargetCompId
value = RemoteMarketDataDrive.DefaultTargetCompId
Standardwert für TargetCompId.