QQ龙虎榜数据接口
1、个股全部上榜日期
strUrl.Format(L"http://stock.finance.qq.com/cgi-bin/sstock/q_lhb_js?t=1&c=%06d", iStockCode);
比如浦发银行600000
网址:http://stock.finance.qq.com/cgi-bin/sstock/q_lhb_js?t=1&c=600000
内容:
var oLhbDatas={_curpage:1,_pages:1,_num:6,_datas:[["2008-02-20","600000","浦发银行","跌幅偏离值达7%的证券","070002","--","--"],["2007-01-04","600000","浦发银行","振幅值达15%的证券","070003","--","--"],["2006-11-30","600000","N浦发","无价格涨跌幅限制","070009","--","--"],["2005-01-21","600000","浦发银行","涨幅偏离值达7%的证券","070001","--","--"],["2003-04-28","600000","浦发银行","涨幅偏离值达7%的证券","070001","--","--"],["2003-01-14","600000","浦发银行","涨幅偏离值达7%的证券","070001","--","--"]],_o:0};
解释:_num:6上榜6次,[]里面的内容依次是:日期、代码、名称、上榜原因、腾讯龙虎榜原因URL的编码、收盘价、涨跌幅。另外,存在日期相同的情况,个股单天存在多种上榜原因,目前最多好像是3个。
2、个股单日龙虎版数据情况
strUrl.Format(L"http://stock.finance.qq.com/cgi-bin/sstock/q_lhb_xx_js?c=%06d&b=%d&l=%06d",
iStockCode, iDate, iType);
比如万向钱潮、000559、2014-02-28的上榜数据
网址:http://stock.finance.qq.com/cgi-bin/sstock/q_lhb_xx_js?c=000559&b=20140228&l=070001
内容:
var oLhbxxDatas={_zrsp:"10.88",_zdf:"10.02",_cjl:"15166.64",_cje:"1735900377.84",_datas:[["000559","万向钱潮","B","1","2014-02-28","国泰君安交易单元(227002)","143884418.0500","0.0000"],["000559","万向钱潮","B","2","2014-02-28","中信证券(浙江)有限责任公司杭州延安路证券营业部","47398875.6000","44906823.0500"],["000559","万向钱潮","B","3","2014-02-28","中银国际证券有限责任公司重庆江北证券营业部","33108327.3700","30520.0000"],["000559","万向钱潮","B","4","2014-02-28","中国银河证券股份有限公司绍兴证券营业部","27107127.7300","13132742.2900"],["000559","万向钱潮","B","5","2014-02-28","华泰证券股份有限公司南京瑞金路证券营业部","24581256.6300","2212125.5000"],["000559","万向钱潮","S","1","2014-02-28","中信证券(浙江)有限责任公司杭州延安路证券营业部","47398875.6000","44906823.0500"],["000559","万向钱潮","S","2","2014-02-28","方正证券股份有限公司深圳福中路证券营业部","51068.0000","41669599.9000"],["000559","万向钱潮","S","3","2014-02-28","信达证券股份有限公司福州远洋路证券营业部","5634897.8000","37590137.1300"],["000559","万向钱潮","S","4","2014-02-28","海通证券股份有限公司嘉兴中山西路证券营业部","2866096.0000","35897272.8400"],["000559","万向钱潮","S","5","2014-02-28","中信建投证券股份有限公司北京东直门南大街证券营业部","286133.9900","26737888.5600"]],_o:0};
解释:这日收盘价、涨跌幅、成交量、成交额,后面依次是买5到卖5的营业部,[]里面依次是:代码、名称、买多还是卖多、买卖编号、日期、营业部名称、买入金额、卖出金额。
另外,存在买5、卖5不全的情况。
数据存储:
直接存储营业部string,数据量有点小大,所以对营业部进行编码:存在两个map,从营业部到编码的map和从编码到营业部的map,如果获取龙虎榜数据的时候,存在新的营业部的时候,更新这两个map。
3、龙虎榜多日数据
var oLhbDatas={_curpage:1,_pages:1,_num:76,_datas:[["2014-04-04","600653","申华控股","涨幅偏离值达7%的证券","070001","2.67","10.11"],["2014-04-03","002102","冠福家用","涨幅偏离值达7%的证券","070001","5.55","10.09"],["2014-04-04","600652","爱使股份","涨幅偏离值达7%的证券","070001","4.07","10.07"],["2014-04-04","000958","东方热电","涨幅偏离值达7%的证券","070001","7.45","10.07"],["2014-04-04","002569","步森股份","涨幅偏离值达7%的证券","070001","11.85","10.04"],["2014-04-04","300216","千山药机","换手率达20%的证券","070004","11.95","10.04"],["2014-04-04","300216","千山药机","涨幅偏离值达7%的证券","070001","11.95","10.04"],["2014-04-04","600789","鲁抗医药","涨幅偏离值达7%的证券","070001","5.48","10.04"],["2014-04-03","000605","渤海股份","涨幅偏离值达7%的证券","070001","15.55","10.03"],["2014-04-04","000620","新华联","涨幅偏离值达7%的证券","070001","6.58","10.03"],["2014-04-03","000807","云铝股份","涨幅偏离值达7%的证券","070001","3.39","10.03"],["2014-04-03","002229","鸿博股份","涨幅偏离值达7%的证券","070001","16.86","10.02"],["2014-04-03","300134","大富科技","连续三个交易日内涨幅偏离值累计达20%的证券","070005","21.75","10.02"],["2014-04-03","300134","大富科技","涨幅偏离值达7%的证券","070001","21.75","10.02"],["2014-04-03","600180","瑞茂通","涨幅偏离值达7%的证券","070001","11.88","10.02"],["2014-04-04","000797","中国武夷","涨幅偏离值达7%的证券","070001","7.39","10.01"],["2014-04-04","002292","奥飞动漫","涨幅偏离值达7%的证券","070001","30.58","10.01"],["2014-04-04","300205","天喻信息","涨幅偏离值达7%的证券","070001","22.09","10.00"],["2014-04-03","300291","华录百纳","涨幅偏离值达7%的证券","070001","34.99","10.00"],["2014-04-04","300291","华录百纳","涨幅偏离值达7%的证券","070001","38.49","10.00"],["2014-04-04","002617","露笑科技","换手率达20%的证券","070004","18.10","10.00"],["2014-04-04","002617","露笑科技","涨幅偏离值达7%的证券","070001","18.10","10.00"],["2014-04-04","002048","宁波华翔","涨幅偏离值达7%的证券","070001","11.50","10.00"],["2014-04-03","300200","高盟新材","涨幅偏离值达7%的证券","070001","9.60","10.00"],["2014-04-04","002617","露笑科技","连续三个交易日内涨幅偏离值累计达20%的证券","070005","18.10","10.00"],["2014-04-04","000831","五矿稀土","涨幅偏离值达7%的证券","070001","17.81","9.99"],["2014-04-03","300130","新国都","涨幅偏离值达7%的证券","070001","24.62","9.99"],["2014-04-03","002715","登云股份","涨幅偏离值达7%的证券","070001","23.02","9.99"],["2014-04-03","002715","登云股份","连续三个交易日内涨幅偏离值累计达20%的证券","070005","23.02","9.99"],["2014-04-03","002715","登云股份","换手率达20%的证券","070004","23.02","9.99"],["2014-04-03","002722","金轮股份","涨幅偏离值达7%的证券","070001","28.03","9.99"],["2014-04-03","002722","金轮股份","连续三个交易日内涨幅偏离值累计达20%的证券","070005","28.03","9.99"],["2014-04-03","002722","金轮股份","换手率达20%的证券","070004","28.03","9.99"],["2014-04-03","000693","华泽钴镍","涨幅偏离值达7%的证券","070001","11.82","9.98"],["2014-04-03","002235","安妮股份","涨幅偏离值达7%的证券","070001","13.23","9.98"],["2014-04-03","300312","邦讯技术","涨幅偏离值达7%的证券","070001","16.84","9.98"],["2014-04-03","300312","邦讯技术","连续三个交易日内涨幅偏离值累计达20%的证券","070005","16.84","9.98"],["2014-04-03","300312","邦讯技术","换手率达20%的证券","070004","16.84","9.98"],["2014-04-04","300150","世纪瑞尔","涨幅偏离值达7%的证券","070001","10.63","9.97"],["2014-04-03","600149","廊坊发展","换手率达20%的证券","070004","10.33","9.97"],["2014-04-03","600149","廊坊发展","涨幅偏离值达7%的证券","070001","10.33","9.97"],["2014-04-04","300329","海伦钢琴","涨幅偏离值达7%的证券","070001","9.73","9.97"],["2014-04-03","600401","海润光伏","涨幅偏离值达7%的证券","070001","7.77","9.14"],["2014-04-04","000823","超声电子","涨幅偏离值达7%的证券","070001","11.01","8.99"],["2014-04-03","000062","深圳华强","涨幅偏离值达7%的证券","070001","12.79","8.29"],["2014-04-04","002198","嘉应制药","涨幅偏离值达7%的证券","070001","10.18","8.15"],["2014-04-03","000511","烯碳新材","涨幅偏离值达7%的证券","070001","5.18","7.92"],["2014-04-03","002723","金莱特","换手率达20%的证券","070004","29.26","5.09"],["2014-04-03","002723","金莱特","连续三个交易日内涨幅偏离值累计达20%的证券","070005","29.26","5.09"],["2014-04-03","002640","百圆裤业","换手率达20%的证券","070004","14.80","3.92"],["2014-04-04","300312","邦讯技术","换手率达20%的证券","070004","18.52","3.89"],["2014-04-04","002504","东光微电","换手率达20%的证券","070004","11.97","2.42"],["2014-04-04","600019","宝钢股份","单只标的证券的当日融资买入数量达到当日该证券总交易量的50%以","070022","3.88","1.29"],["2014-04-04","600149","廊坊发展","换手率达20%的证券","070004","11.36","0.62"],["2014-04-03","600743","华远地产","连续三个交易日内涨幅偏离值累计达20%的证券","070005","3.58","0.56"],["2014-04-03","002725","跃岭股份","换手率达20%的证券","070004","27.95","0.39"],["2014-04-04","600769","祥龙电业","振幅值达15%的证券","070003","5.71","0.18"],["2014-04-04","002722","金轮股份","换手率达20%的证券","070004","30.83","-2.04"],["2014-04-04","002723","金莱特","换手率达20%的证券","070004","30.75","-3.71"],["2014-04-04","002715","登云股份","换手率达20%的证券","070004","25.32","-3.87"],["2014-04-03","000958","东方热电","振幅值达15%的证券","070003","7.87","-5.34"],["2014-04-04","300004","南风股份","跌幅偏离值达7%的证券","070002","48.16","-6.64"],["2014-04-04","002377","国创高新","跌幅偏离值达7%的证券","070002","11.99","-7.67"],["2014-04-03","600240","华业地产","跌幅偏离值达7%的证券","070002","4.75","-7.79"],["2014-04-03","600155","宝硕股份","跌幅偏离值达7%的证券","070002","8.73","-7.90"],["2014-04-03","300166","东方国信","跌幅偏离值达7%的证券","070002","38.50","-8.52"],["2014-04-03","600246","万通地产","跌幅偏离值达7%的证券","070002","4.03","-9.18"],["2014-04-03","002019","鑫富药业","跌幅偏离值达7%的证券","070002","28.75","-9.98"],["2014-04-04","002019","鑫富药业","跌幅偏离值达7%的证券","070002","25.88","-10.01"],["2014-04-04","002019","鑫富药业","连续三个交易日内跌幅偏离值累计达20%的证券","070006","25.88","-10.01"],["2014-04-03","510880","红利ETF","单只标的证券的当日融券卖出数量达到当日该证券总交易量的50%以","070023","--","--"],["2014-04-03","510010","治理ETF","单只标的证券的当日融资买入数量达到当日该证券总交易量的50%以","070022","--","--"],["2014-04-04","510880","红利ETF","单只标的证券的当日融券卖出数量达到当日该证券总交易量的50%以","070023","--","--"],["2014-04-03","510880","红利ETF","单只标的证券的当日融资买入数量达到当日该证券总交易量的50%以","070022","--","--"],["2014-04-04","510880","红利ETF","单只标的证券的当日融资买入数量达到当日该证券总交易量的50%以","070022","--","--"],["2014-04-03","510010","治理ETF","单只标的证券的当日融券卖出数量达到当日该证券总交易量的50%以","070023","--","--"]],_o:0};
QQ龙虎榜数据接口的更多相关文章
- QQ18年,解密8亿月活的QQ后台服务接口隔离技术
作者:shane,腾讯后台开发高级工程师 QQ18年 1999年2月10日,腾讯QQ横空出世.光阴荏苒,那个在你屏幕右下角频频闪动的企鹅已经度过了18个年头.随着QQ一同成长的你,还记得它最初的摸样吗 ...
- 开放数据接口 API 简介与使用场景、调用方法
此文章对开放数据接口 API 进行了功能介绍.使用场景介绍以及调用方法的说明,供用户在使用数据接口时参考之用. 在给大家分享的一系列软件开发视频课程中,以及在我们的社区微信群聊天中,都积极地鼓励大家开 ...
- python财经数据接口包Tushare pro的入门及简单使用方式(大数据,股票数据接口)
最近在做一个项目,需要用到股票的数据,我在网上查了很久,最终发现在股票数据上面还是tushare比较专业,而且对于将来做金融行业的大数据这一块的,tushare绝对是你的一个好帮手,所以下面我就简单介 ...
- .NET Core开发的iNeuOS工业互联平台,升级四大特性:配置数据接口、图元绑定数据、预警配置和自定义菜单
目 录 1. 概述... 2 2. 演示信息... 2 3. iNeuView(Web组态)配置数据接口... 2 4. iNeuView(Web组 ...
- App开发:模拟服务器数据接口 - MockApi
为了方便app开发过程中,不受服务器接口的限制,便于客户端功能的快速测试,可以在客户端实现一个模拟服务器数据接口的MockApi模块.本篇文章就尝试为使用gradle的android项目设计实现Moc ...
- [python]沪深龙虎榜数据导入通达信的自选板块,并标注于K线图上
将沪深龙虎榜数据导入通达信的自选板块,并标注于K线图上 原理:python读取前一次处理完的计算5日后涨跌幅输出的csv文件 文件名前加"[paint]" 安照通达信的画图文件和板 ...
- [python]沪深龙虎榜数据进一步处理,计算日后5日的涨跌幅
沪深龙虎榜数据进一步处理,计算日后5日的涨跌幅 事前数据: 前面处理得到的csv文件 文件名前加入“[wait]”等待程序处理 python代码从雅虎股票历史数据api获取数据,计算后面5日的涨跌幅 ...
- [python]数据整理,将取得的众多的沪深龙虎榜数据整一整
将昨日取得的众多的沪深龙虎榜数据整一整 提取文件夹内所有抓取下来的沪深龙虎榜数据,整理出沪深两市(含中小创)涨幅榜股票及前5大买入卖出资金净值,保存到csv文件 再手动使用数据透视表进行统计 原始数据 ...
- [python]初试页面抓取——抓取沪深股市交易龙虎榜数据
[python]抓取沪深股市交易龙虎榜数据 python 3.5.0下运行 没做自动建立files文件夹,需要手动在py文件目录下建立files文件夹后运行 #coding=utf-8 import ...
随机推荐
- 028 Android 旋转动画+病毒查杀效果+自定义样式的ProgressBar
1.目标效果 旋转动画+病毒查杀效果 2.xml布局文件 (1)activity_kill_virus.xml <?xml version="1.0" encoding=&q ...
- Python05之常用操作符
主要有三类:算数运算符,比较运算符,逻辑运算符 一.算数运算符: 加(+)减(-)乘(*)除(/)幂运算(**)地板除(//)取余数(%) 注:/和//的区别: 数据1 / 数据2 = 数据3 ( ...
- C++打印水仙花数
#include <iostream> #include <Windows.h> using namespace std; int main(void) { int a, b, ...
- python之numpy和pandas
一.numpy矩阵的拼接合并 列拼接:np.column_stack() >>> import numpy as np >>> a = np.arange(9).r ...
- Gogs + Drone 实现CI/CD(CI)
本文通过docker-compose方式安装运行drone,先将drone的server和agent镜像拉取到本地,这样docker-compose脚本执行速度会快一点.当然,不是必须先拉取drone ...
- mamcached+(magent+keepalived高可用)搭建及理论概述
目录 一.理论概述 工作流程 二.部署 环境 环境概述 部署 三.测试 四.总结 一.理论概述 Memcached服务器端与PHP-Memcache客户端安装配置_服务器应用_Linux公社-Linu ...
- Linux(一):Linux基础
1. Linux入门 1.1. Linux概述 Linux是一套免费使用和自由传播的类Unix操作系统.Unix操作系统是上世纪70年代在贝尔实验室诞生的一个强大的多用户.多任务操作系统. Linux ...
- 现在记录几款好用的vscode的插件
vscode 插件 Rainbow Brackets编码过程中,尤其在我们使用js进行函数式编程时,代码里会有很多的花括号,想要保证它们对称十分困难,所以就出现了上面小粉同学的尴尬局面,相信很多人都遇 ...
- 【HCIA Gauss】学习汇总-数据库管理(数据库设计 范式 索引 分区)-7
zsql user/pasword@ip:port -c "show databases" # 展示一条sql语句 spool file_path 指定输出文件 可以为相对路径 s ...
- 子div撑不开父div的几种解决办法:
如何修正DIV float之后导致的外部容器不能撑开的问题 在写HTML代码的时候,发现在Firefox等符合W3C标准的浏览器中,如果有一个DIV作为外部容器,内部的DIV如果设置了float样 ...