public IActionResult DrawEchart_K() { K_IndexViewModel dataInfo = new K_IndexViewModel(_appConf); return(Content(JsonConvert.SerializeObject(dataInfo.GetSingleStock()))); }
public IActionResult getdata(string code, string period, string type) { K_IndexViewModel dataInfo = new K_IndexViewModel(_appConf); return(Content(JsonConvert.SerializeObject(dataInfo.BLJJ(code, period, type)))); }
public string DrawCandle(string stockcode, string stockname) { K_IndexViewModel dataInfo = new K_IndexViewModel(_appConf); return(dataInfo.GetData(stockcode, stockname)); }