Table of Contents

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 IStorageRegistry

The external storage.

series CandleSeries

Candles series.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

candleType Type

The candle type.

security Security

Security.

arg object

Candle arg.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

security Security

Security.

arg TArg

Candle arg.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

security Security

Security.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

security Security

Security.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The 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 IStorageRegistry

The external storage.

security Security

Security.

drive IMarketDataDrive

The storage. If a value is null, DefaultDrive will be used.

format StorageFormats

The format type. By default Binary is passed.

Returns

IEntityMarketDataStorage<Trade, ExecutionMessage>

The storage of tick trades.