Click or drag to resize

IRemoteStorageLoadStream Method

To download market data in the StockSharp storage format.

Namespace:  StockSharp.Algo.History.Hydra
Assembly:  StockSharp.Algo.History (in StockSharp.Algo.History.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
Stream LoadStream(
	Guid sessionId,
	string securityId,
	string dataType,
	string arg,
	DateTime date,
	StorageFormats format
)

Parameters

sessionId
Type: SystemGuid
Session ID.
securityId
Type: SystemString
Security ID.
dataType
Type: SystemString
Market data type.
arg
Type: SystemString
The parameter associated with the dataType type. For example, Arg.
date
Type: SystemDateTime
The date on which you need to download market data.
format
Type: StockSharp.Algo.StoragesStorageFormats
Format type.

Return Value

Type: Stream
Market data in the StockSharp storage format. If the data does not exist then Null will be returned.
See Also