public DataTable getRecords(DateTime dt) { WSETCommIndexClass wsetobj; wsetobj = new WSETCommIndexClass(_sic.SummaryCode, dt); return(WDDataAdapter.getRecords(wsetobj.getDataSet())); }
public void getResult(ulong reqid, WindData data) { DataTable dt = WDDataAdapter.getRecords(data); List <DetailStringClass> retList = WDDataAdapter.GetList(dt); AfterUpdate(Data); }
public DataTable getHQData(string strCode, DateTime begT, DateTime endT) { GLClass globj = new GLClass(strCode); WSDClass wsetobj = new WSDClass(strCode, "open,high,low,close,pct_chg,volume,windcode", begT, endT); //WSDClass wsetobj = new WSDClass(strCode, "open,close,volume,windcode", begT, endT); return(WDDataAdapter.getRecords(wsetobj.getDataSet())); }
public override Dictionary <string, ExpectList> RequestData(string[] grpcodes, string Fields, string options) { WindData wd = SystemGlobal.w.wsq(string.Join(",", grpcodes), Fields, options); DataTable dt = WDDataAdapter.getRecords(wd); Dictionary <string, ExpectList> ret = new Dictionary <string, ExpectList>(); for (int i = 0; i < dt.Rows.Count; i++) { ExpectList el = new ExpectList(); } return(ret); }
public DataTable getRecords(string[] Sectors, DateTime dt) { if (gbc == null) { return(null); } gbc.tradeDate = dt; WSSClass wsetobj; wsetobj = new WSSClass(string.Join(",", Sectors), gbc.GuidName, gbc.strParam); return(WDDataAdapter.getRecords(wsetobj.getDataSet())); }
public DataTable getRecords(string strCode, DateTime dt) { GLClass globj = new GLClass(strCode); WSETClass wsetobj; if (strCode == null || strCode.Length == 0)//如果是板块类 { wsetobj = new WSETMarketClass(globj.GLCode, dt); } else//如果是指数类 { wsetobj = new WSETIndexClass(globj.GLCode, dt); } return(WDDataAdapter.getRecords(wsetobj.getDataSet())); }