CsvEntityRegistry

StockSharp.Algo.Storages.Csv

The CSV storage of trading objects.

Наследует: AsyncDisposable

Реализует: IEntityRegistry, IAsyncDisposable

Конструкторы

CsvEntityRegistry(string, ChannelExecutor)

Initializes a new instance of the CsvEntityRegistry.

path
The path to data directory.
executor
Sequential operation executor for disk access synchronization.
CsvEntityRegistry(IFileSystem, string, ChannelExecutor)

Initializes a new instance of the CsvEntityRegistry.

fileSystem
IFileSystem
path
The path to data directory.
executor
Sequential operation executor for disk access synchronization.

Свойства

Encoding : Encoding

Encoding.

ExchangeBoards : IStorageEntityList<ExchangeBoard>

The list of stock boards.

Exchanges : IStorageEntityList<Exchange>

List of exchanges.

FileSystem : IFileSystem

File system.

Path : string

The path to data directory.

Portfolios : IStorageEntityList<Portfolio>

The list of portfolios.

Positions : IStoragePositionList

The list of positions.

PositionStorage : IPositionStorage

Position storage.

Securities : IStorageSecurityList

The list of instruments.

Subscriptions : IStorageEntityList<MarketDataMessage>

The list of subscriptions.

Методы

Add``2(CsvEntityList<T, T>)

Add list of trade objects.

list
List of trade objects.
DisposeManaged() : ValueTask

Release resources.

InitAsync(CancellationToken) : ValueTask<Dictionary<object, Exception>>

Initialize the storage.

cancellationToken
CancellationToken