Click or drag to resize

TraderHelperGetLevel1 Method

To get level1 market data.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static IEnumerable<Level1ChangeMessage> GetLevel1(
	this IMessageAdapter adapter,
	SecurityId securityId,
	DateTime beginDate,
	DateTime endDate,
	IEnumerable<Level1Fields> fields = null
)

Parameters

adapter
Type: StockSharp.MessagesIMessageAdapter
Adapter.
securityId
Type: StockSharp.MessagesSecurityId
Security ID.
beginDate
Type: SystemDateTime
Start date.
endDate
Type: SystemDateTime
End date.
fields (Optional)
Type: System.Collections.GenericIEnumerableLevel1Fields
Market data fields.

Return Value

Type: IEnumerableLevel1ChangeMessage
Level1 market data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMessageAdapter. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also