Class IStorageRegistryObsoleteExtensions
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
public static class IStorageRegistryObsoleteExtensions
- Inheritance
-
IStorageRegistryObsoleteExtensions
- Inherited Members
Methods
GetCandleStorage(IStorageRegistry, CandleSeries, IMarketDataDrive, StorageFormats)
To get the storage of candles.
[Obsolete("Use GetCandleMessageStorage method.")]
public static IEntityMarketDataStorage<Candle, CandleMessage> GetCandleStorage(this IStorageRegistry storageRegistry, CandleSeries series, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
storageRegistry
IStorageRegistryThe external storage.
series
CandleSeriesCandles series.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<Candle, CandleMessage>
The candles storage.
GetCandleStorage(IStorageRegistry, Type, Security, object, IMarketDataDrive, StorageFormats)
To get the candles storage for the specified instrument.
[Obsolete("Use GetCandleMessageStorage method.")]
public static IEntityMarketDataStorage<Candle, CandleMessage> GetCandleStorage(this IStorageRegistry registry, Type candleType, Security security, object arg, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
registry
IStorageRegistryThe external storage.
candleType
TypeThe candle type.
security
SecuritySecurity.
arg
objectCandle arg.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<Candle, CandleMessage>
The candles storage.
GetCandleStorage<TCandle, TArg>(IStorageRegistry, Security, TArg, IMarketDataDrive, StorageFormats)
To get the storage of candles.
[Obsolete("Use GetCandleMessageStorage method.")]
public static IEntityMarketDataStorage<Candle, CandleMessage> GetCandleStorage<TCandle, TArg>(this IStorageRegistry storageRegistry, Security security, TArg arg, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary) where TCandle : Candle
Parameters
storageRegistry
IStorageRegistryThe external storage.
security
SecuritySecurity.
arg
TArgCandle arg.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<Candle, CandleMessage>
The candles storage.
Type Parameters
TCandle
The candle type.
TArg
The type of candle parameter.
GetMarketDepthStorage(IStorageRegistry, Security, IMarketDataDrive, StorageFormats)
To get the storage of order books for the specified instrument.
[Obsolete("Use GetQuoteMessageStorage method.")]
public static IEntityMarketDataStorage<MarketDepth, QuoteChangeMessage> GetMarketDepthStorage(this IStorageRegistry registry, Security security, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
registry
IStorageRegistryThe external storage.
security
SecuritySecurity.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<MarketDepth, QuoteChangeMessage>
The order books storage.
GetNewsStorage(IStorageRegistry, IMarketDataDrive, StorageFormats)
To get news storage.
[Obsolete("Use GetNewsMessageStorage method.")]
public static IEntityMarketDataStorage<News, NewsMessage> GetNewsStorage(this IStorageRegistry registry, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
registry
IStorageRegistryThe external storage.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<News, NewsMessage>
The news storage.
GetOrderLogStorage(IStorageRegistry, Security, IMarketDataDrive, StorageFormats)
To get the storage of orders log for the specified instrument.
[Obsolete("Use GetOrderLogMessageStorage method.")]
public static IEntityMarketDataStorage<OrderLogItem, ExecutionMessage> GetOrderLogStorage(this IStorageRegistry registry, Security security, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
registry
IStorageRegistryThe external storage.
security
SecuritySecurity.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<OrderLogItem, ExecutionMessage>
The storage of orders log.
GetTradeStorage(IStorageRegistry, Security, IMarketDataDrive, StorageFormats)
To get the storage of tick trades for the specified instrument.
[Obsolete("Use GetTickMessageStorage method.")]
public static IEntityMarketDataStorage<Trade, ExecutionMessage> GetTradeStorage(this IStorageRegistry registry, Security security, IMarketDataDrive drive = null, StorageFormats format = StorageFormats.Binary)
Parameters
registry
IStorageRegistryThe external storage.
security
SecuritySecurity.
drive
IMarketDataDriveThe storage. If a value is null, DefaultDrive will be used.
format
StorageFormatsThe format type. By default Binary is passed.
Returns
- IEntityMarketDataStorage<Trade, ExecutionMessage>
The storage of tick trades.