/// <summary> /// 根据周期获取最后一根柱子的信息 /// </summary> /// <param name="weekflg"></param> /// <returns></returns> public static Dictionary<string, string> GetAllLastPillar(string weekflg) { Dictionary<string, string> dic = new Dictionary<string, string>(); TradeClient tc = new TradeClient(); try { dic = tc.GetAllLastPillar(weekflg); tc.Close(); } catch (Exception ex) { tc.Abort(); throw new Exception(ex.Message, ex); } return dic; }