Click or drag to resize

MessageConverterHelperToQuote Method

To convert the message into quote.

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

Parameters

change
Type: StockSharp.MessagesQuoteChange
Message.
security
Type: StockSharp.BusinessEntitiesSecurity
Security.
getSecurity (Optional)
Type: SystemFuncSecurityId, Security
The function for getting instrument.

Return Value

Type: Quote
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