public static void Main(string[] args) { List <InfoData> list = BizApi.QueryInfoRzrq(); //List<InfoData> list = new List<InfoData>() { BizApi.QueryInfoById("sh600157") }; foreach (InfoData id in list) { //Console.WriteLine(id.sid + " processed"); try { if (Analyze(id.sid, start, end)) { Console.WriteLine(id.sid + " selected!!!"); } } catch { //Console.WriteLine(id.sid + " failed"); //throw; } } }
public List <InfoData> QueryInfoByRzrq() { return(BizApi.QueryInfoRzrq()); }