Click or drag to resize

MT5APIGetQuote Method

Latest quote for the symbol.

Namespace: mtapi.mt5
Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax
public Quote GetQuote(
	string symbol,
	int msTimeout = 0
)

Parameters

symbol  String
Symbol for trading.
msTimeout  Int32  (Optional)
 

Return Value

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