Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            WindData  wd          = ConnWindData.fetchSectorConstituent(DateTime.Now, "全部A股");
            DataTable dtStock     = ConnWindData.convertWindDatatoTable(wd);
            String    strWindCode = Utilities.UtilityTable.getCodeStringFromDataTableCol(dtStock, 1);

            Strategy.EarningPositivePreannouncement.PreannouncementConditionFilter(dtStock, new DateTime(2016, 6, 30));
        }
Esempio n. 2
0
        private void fetchShenWanIndex(string strIndexName)
        {
            WindData wd = ConnWindData.fetchSectorConstituent(DateTime.Now, "申银万国一级行业指数");

            dtIndustryIndex = ConnWindData.convertWindDatatoTable(wd);
        }