Latest quote for the symbol.
Namespace:
mtapi.mt5
Assembly:
mt5api (in mt5api.dll) Version: 4.6.1.4
Syntaxpublic Quote GetQuote(
string symbol
)
Public Function GetQuote (
symbol As String
) As Quote
public:
Quote^ GetQuote(
String^ symbol
)
member GetQuote :
symbol : string -> Quote
Parameters
- symbol
- Type: SystemString
Symbol for trading.
Return Value
Type:
QuoteReturn null if no quotes for specified symbol avalible, otherwise return quote event arguments.
ExceptionsException | Condition |
---|
Exception | Symbol not subscribed. |
See Also