Class SnapshotRegistry
- Namespace
- StockSharp.Algo.Storages
- Assembly
- StockSharp.Algo.dll
Snapshot storage registry.
public class SnapshotRegistry : Disposable
- Inheritance
-
SnapshotRegistry
- Extension Methods
Constructors
SnapshotRegistry(string)
Initializes a new instance of the SnapshotRegistry.
public SnapshotRegistry(string path)
Parameters
path
stringPath to storage.
Methods
DisposeManaged()
Release resources.
protected override void DisposeManaged()
GetSnapshotStorage(Type, object)
To get the snapshot storage.
public ISnapshotStorage GetSnapshotStorage(Type dataType, object arg)
Parameters
dataType
TypeMarket data type.
arg
objectThe parameter associated with the
dataType
type. For example, candle arg.
Returns
- ISnapshotStorage
The snapshot storage.
Init()
Initialize the storage.
public void Init()