Method GetQuote
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
GetQuote(string, int, int)
The latest quote (MT5 GetQuote). Returns the streamed quote when it is at most
msNotOlder ms old (0 = any age); otherwise asks the engine and waits up to
msTimeout ms (0 = GetQuoteTimeoutMs). Null when the symbol has no price.
public Quote? GetQuote(string symbol, int msTimeout = 0, int msNotOlder = 0)
Parameters
Returns
Remarks
MT5 equivalent
MT5API.GetQuote(string symbol, int msTimeout = 0, int msNotOlder = 0)— full