public Quote GetQuote(string symbol, FixSessionId sessionId) { Quote result = null; if (!this.TryGetQuote(symbol, sessionId, out result)) { var message = string.Format("Quotes is not presented for symbol = {0} and session id = {1}", symbol, sessionId); throw new ArgumentException(message); } return result; }
public Quote GetQuote(string symbol, FixSessionId sessionId) { Quote result = null; if (!this.TryGetQuote(symbol, sessionId, out result)) { var message = string.Format("Quotes is not presented for symbol = {0} and session id = {1}", symbol, sessionId); throw new ArgumentException(message); } return(result); }
public bool TryGetQuote(string symbol, FixSessionId sessionId, out Quote quote) { return this.parser.TryGetQuote(this.handle, symbol, sessionId, out quote); }
public bool TryGetQuote(string symbol, FixSessionId sessionId, out Quote quote) { return(this.parser.TryGetQuote(this.handle, symbol, sessionId, out quote)); }