Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public bool TryGetQuote(string symbol, FixSessionId sessionId, out Quote quote)
 {
     return this.parser.TryGetQuote(this.handle, symbol, sessionId, out quote);
 }
Exemplo n.º 4
0
 public bool TryGetQuote(string symbol, FixSessionId sessionId, out Quote quote)
 {
     return(this.parser.TryGetQuote(this.handle, symbol, sessionId, out quote));
 }