Click or drag to resize

MT5APIGetQuoteTask Method

Latest quote for the symbol.

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public Task<Quote> GetQuoteTask(
	string symbol,
	int msTimeout
)

Parameters

symbol  String
Symbol for trading.
msTimeout  Int32
 

Return Value

TaskQuote
Return null if no quotes for specified symbol avalible, otherwise return quote event arguments.
Exceptions
ExceptionCondition
ExceptionSymbol not subscribed.
See Also