股票实时数据-如何获取实时的股票数据?
如何实时写股票数据进数据库

怎么获取股票实时数据呢?开发炒股软件用

如何获取实时的股票数据

如何获取实时的股票数据?

可以通过调用ChinaStockWebService的服务来实现获取股票的实时数据,代码如下: public string[] getStockInfo(string stockcode) { //string url = "http://hq.sinajs.cn/list="+stockcode; //stockcode 某只股票的代码 string url = "http://hq.sinajs.cn/list=sh600683"; WebClient client = new WebClient(); client.Headers.Add("Content-Type", "text/html; charset=gb2312"); Stream data = client.OpenRead(url); StreamReader reader = new StreamReader(data, Encoding.GetEncoding("gb2312")); string s = reader.ReadToEnd(); reader.Close(); data.Close(); return s.Split(','); }
哪家公司能提供股票的实时数据接口?

股票数据有办法采集或者实时监控么?

{!-- PGC_VIDEO:{"thumb_height": 640, "thumb_url": "2c899000c8d24788d5772", "vname": "", "vid": "v02016480000blh4voiiv571p9rn3ub0", "thumb_width": 360, "src_thumb_uri": "2c899000c8d24788d5772", "sp": "toutiao", "update_thumb_type": 1, "vposter": "http://p0.pstatp.com/origin/2c899000c8d24788d5772", "video_size": {"high": {"duration": 17.346, "h": 854, "subjective_score": 0, "w": 480, "file_size": 1011488}, "ultra": {"duration": 17.346, "h": 1280, "subjective_score": 0, "w": 720, "file_size": 2208878}, "normal": {"duration": 17.346, "h": 640, "subjective_score": 0, "w": 360, "file_size": 683459}}, "md5": "80c531d3545694e6b023afc91e79dac6", "duration": 17.346, "file_sign": "80c531d3545694e6b023afc91e79dac6", "thumb_uri": "2c899000c8d24788d5772", "vu": "v02016480000blh4voiiv571p9rn3ub0"} --}