public List <BidAsk> GetPrices(string brokerId) { var list = _reader.Get(BidAskNoSql.GeneratePartitionKey(brokerId)); return(list.Select(e => e.Quote).ToList()); }
public BidAsk GetPrice(string brokerId, string symbol) { var price = _reader.Get(BidAskNoSql.GeneratePartitionKey(brokerId), BidAskNoSql.GenerateRowKey(symbol)); return(price?.Quote); }