Click or drag to resize

MessageConverterHelperToQuote Method

Преобразовать сообщение в котировку.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static Quote ToQuote(
	this QuoteChange change,
	Sides side,
	Security security,
	Func<SecurityId, Security> getSecurity = null
)

Parameters

change
Type: StockSharp.MessagesQuoteChange
Сообщение.
side
Type: StockSharp.MessagesSides
Направление (покупка или продажа).
security
Type: StockSharp.BusinessEntitiesSecurity
Инструмент стакана.
getSecurity (Optional)
Type: SystemFuncSecurityId, Security
Функция для получения инструмента.

Return Value

Type: Quote
Котировка.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type QuoteChange. 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