public bool TryGetPrice(QuotationContext context, OpenOrderInfo openOrder, Game game, out Quotation price) { if (game.Symbol == null) { throw new ArgumentNullException(nameof(game), "game.Synbol should not be null."); } var startDateTime = openOrder.ClientPostTime ?? openOrder.ArriveDateTime; //客户端提交时间。 return(context.TryGetQuotation(game.Symbol.Id, startDateTime, out price)); }