IHistoryMarketDataManager
Interfaz para el administrador de datos del mercado de historia.
Implementa: IDisposable
Propiedades
public MarketDataStorageCache AdapterCache { get; set; }
value = iHistoryMarketDataManager.AdapterCache
iHistoryMarketDataManager.AdapterCache = value
MarketDataStorageCache.
public bool CheckTradableDates { get; set; }
value = iHistoryMarketDataManager.CheckTradableDates
iHistoryMarketDataManager.CheckTradableDates = value
Compruebe las fechas de carga son tradable.
public DateTime CurrentTime { get; }
value = iHistoryMarketDataManager.CurrentTime
Hora actual.
public IMarketDataDrive Drive { get; set; }
value = iHistoryMarketDataManager.Drive
iHistoryMarketDataManager.Drive = value
El almacenamiento que se utiliza por defecto.
public bool IsStarted { get; }
value = iHistoryMarketDataManager.IsStarted
Está empezando.
public int LoadedMessageCount { get; }
value = iHistoryMarketDataManager.LoadedMessageCount
El número de eventos cargados.
public TimeSpan MarketTimeChangedInterval { get; set; }
value = iHistoryMarketDataManager.MarketTimeChangedInterval
iHistoryMarketDataManager.MarketTimeChangedInterval = value
El intervalo de mensajes TimeMessagegeneración.
public int PostTradeMarketTimeChangedCount { get; set; }
value = iHistoryMarketDataManager.PostTradeMarketTimeChangedCount
iHistoryMarketDataManager.PostTradeMarketTimeChangedCount = value
El número de eventos llama después del final del comercio.
public DateTime StartDate { get; set; }
value = iHistoryMarketDataManager.StartDate
iHistoryMarketDataManager.StartDate = value
Fecha en la historia para empezar.
public DateTime StopDate { get; set; }
value = iHistoryMarketDataManager.StopDate
iHistoryMarketDataManager.StopDate = value
Fecha de parar (se incluye fecha).
public MarketDataStorageCache StorageCache { get; set; }
value = iHistoryMarketDataManager.StorageCache
iHistoryMarketDataManager.StorageCache = value
Cache.
public StorageFormats StorageFormat { get; set; }
value = iHistoryMarketDataManager.StorageFormat
iHistoryMarketDataManager.StorageFormat = value
El formato de los datos del mercado.
public IStorageRegistry StorageRegistry { get; set; }
value = iHistoryMarketDataManager.StorageRegistry
iHistoryMarketDataManager.StorageRegistry = value
Almacenamiento de datos de mercado.
Métodos
public IAsyncEnumerable<DataType> GetSupportedDataTypesAsync(SecurityId securityId)
result = iHistoryMarketDataManager.GetSupportedDataTypesAsync(securityId)
Obtenga tipos de datos compatibles para instrumentos financieros.
- securityId
- identificación de instrumentos financieros.
Devuelve: Tipos de datos compatibles.
public bool HasGenerator(SecurityId securityId, DataType dataType)
result = iHistoryMarketDataManager.HasGenerator(securityId, dataType)
Compruebe si el generador existe.
- securityId
- identificación de instrumentos financieros.
- dataType
- Tipo de datos.
Devuelve: si el generador existe.
public void RegisterGenerator(SecurityId securityId, DataType dataType, MarketDataGenerator generator, long transactionId)
iHistoryMarketDataManager.RegisterGenerator(securityId, dataType, generator, transactionId)
Generador de registro.
- securityId
- identificación de instrumentos financieros.
- dataType
- Tipo de datos.
- generator
- Generador.
- transactionId
- ID de transacción.
public IAsyncEnumerable<Message> StartAsync(IEnumerable<BoardMessage> boards)
result = iHistoryMarketDataManager.StartAsync(boards)
Iniciar la generación de datos del mercado.
- boards
- Exchange boards.
Devuelve: Async enumerable of messages.
public void Stop()
iHistoryMarketDataManager.Stop()
Detenga la generación de datos del mercado.
public ValueTask<Exception> SubscribeAsync(MarketDataMessage message, CancellationToken cancellationToken)
result = iHistoryMarketDataManager.SubscribeAsync(message, cancellationToken)
Suscríbete a los datos del mercado.
- message
- Mensaje de suscripción.
- cancellationToken
- Cancelación token.
Devuelve: Error si la suscripción falla, null de lo contrario.
public bool UnregisterGenerator(long originalTransactionId)
result = iHistoryMarketDataManager.UnregisterGenerator(originalTransactionId)
Generador no registrado.
- originalTransactionId
- id de transacción original.
Devuelve: si el generador fue encontrado y eliminado.
public void Unsubscribe(long originalTransactionId)
iHistoryMarketDataManager.Unsubscribe(originalTransactionId)
Descríbete de los datos del mercado.
- originalTransactionId
- transacción de suscripción original id.