MT5APIGetQuoteTask Method
|
Latest quote for the symbol.
Namespace: mtapi.mt5Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax public Task<Quote> GetQuoteTask(
string symbol,
int msTimeout
)
Public Function GetQuoteTask (
symbol As String,
msTimeout As Integer
) As Task(Of Quote)
public:
Task<Quote^>^ GetQuoteTask(
String^ symbol,
int msTimeout
)
member GetQuoteTask :
symbol : string *
msTimeout : int -> Task<Quote>
Parameters
- symbol String
- Symbol for trading.
- msTimeout Int32
-
Return Value
TaskQuoteReturn null if no quotes for specified symbol avalible, otherwise return quote event arguments.
Exceptions Exception | Condition |
---|
Exception | Symbol not subscribed. |
See Also