重创股金
来源:互联网 发布:太行配煤软件 编辑:程序博客网 时间:2024/05/16 10:20
重创股金
using System;
using System.Text;
using System.Net;
namespace 重创股金
{
class Program
{
static void Main(string[] args)
{
string key = "***********************";
string URL = "http://apis.haoservice.com/lifeservice/zcgjj?key="+key;
WebClient wc = new WebClient();
wc.Encoding = Encoding.UTF8;
string str = wc.DownloadString(URL);
Console.WriteLine(str);
Console.ReadKey();
}
}
}
接口信息:
URL:http://apis.haoservice.com/lifeservice/zcgjj
支持格式:json;
http请求方式:GET;
参数说明:
名称
类型
必须
说明
key
string
是
应用APPKEY(应用详细页查询)
返回结果:
{
"error_code":"0",
"reason":"Success",
"result":[{
"1":{
"code":"000002",/*股票代码*/
"name":"万科A",/*股票名称*/
"fundnum":"180",/*持有基金家数*/
"total":"247,221",/*持股总数(万股)*/
"change":"-42,289",/*持股变化(和上季度比)*/
"totalcap":"2084074.79",/*持股总市值(万元)*/
"accrate":"22.52",/*占该股流通市值比例(%)*/
"changesta":"-3.85",/*占流通股比例表变化(和上季度比)(%)*/
"time":"20120930"/*时间*/
},
"2":{
"code":"000858",
"name":"五粮液",
"fundnum":"157",
"total":"49,986",
"change":"-10,713",
"totalcap":"1694540.82",
"accrate":"13.17",
"changesta":"-2.82",
"time":"20120930"
},
......
"7":{
"code":"600837",
"name":"海通证券",
"fundnum":"112",
"total":"85,612",
"change":"-40,265",
"totalcap":"820166.78",
"accrate":"8.93",
"changesta":"-4.20",
"time":"20120930"
}
......
}]
}
- 重创股金
- 重创股金
- 重创股金
- 重创
- 法律重创微软
- 重创~伤到了
- SQL Server灾难恢复:重创历史性数据
- 久游遭受重创的ng2b
- 台风“威马逊”重创广东海南等地
- 商业化试水,Prisma能否重创奇迹?
- 英特尔和HP公司带来重创
- 惠普推出首款Linux笔记本 微软再遭“重创”
- 信用卡违约率或突破10% 美银行业遭重创
- 2009年下半年九大利空重创楼市
- 腾讯连出两招重创阿里:阴谋与阳谋兼施
- 小米模仿抄袭盗版发展线路受到重创!!
- 柴俊理金:惨淡非农加剧忧虑,原油重创黄金反攻
- 麦迪发誓将重创马刺小牛 火箭触底反弹称霸西部
- 程序员技术练级攻略
- Create database SPFILE Under ASM (Doc ID 413360.1)
- UCgui字体
- 第11周项目7泰勒公式
- windows 建立SVN服务器
- 重创股金
- test
- SSDT表的遍历
- 用移动硬盘启动电脑的几个步骤
- C++递归法算矩阵连乘问题
- 有关javaScript面向对象和原型笔记
- 几种常见的开源软件许可协议(GPL, LGPL, Apache License, BSD)
- 第十二周 项目1
- 按照日期统计每天用户数量