tx股票接口小计

来源:互联网 发布:数据库营销例子 编辑:程序博客网 时间:2024/05/29 16:30

腾讯 


实时行情:

http://stockhtm.finance.qq.com/sstock/ggcx/600103.shtml

http://qt.gtimg.cn/q=sh600103

http://web.sqt.gtimg.cn/q=sh600103 

有当天总成交量 外盘内盘 买卖各5挡 成交量 成交额 市值 等信息。


分时成交 当天

http://stockhtm.finance.qq.com/sstock/quotpage/q/600103.htm#detail

http://stock.gtimg.cn/data/index.php?appn=detail&action=data&c=sh600103&p=0

http://stock.gtimg.cn/data/index.php?appn=detail&action=data&c=sh600103&p=1


逐分钟 当天

http://stockhtm.finance.qq.com/sstock/ggcx/600103.shtml

http://web.ifzq.gtimg.cn/appstock/app/minute/query?code=sh600103

http://web.ifzq.gtimg.cn/appstock/app/minute/query?_var=min_data_sh600103&code=sh600103&r=0.12174363108800135


逐分钟 当天 新浪投资易

https://touzi.sina.com.cn/public/mystock

https://stock.sina.com.cn/stock/api/jsonp.php/var%20_sh6001032017=/TouziService.getStockMinuteFlow?symbol=sh600103&random=$rn

https://stock.sina.com.cn/stock/api/jsonp.php//TouziService.getStockMinuteFlow?symbol=sh600103&

.replace(/\(\(new String\(|\)\)\);/g,'')


分价表 当天

http://stockhtm.finance.qq.com/sstock/quotpage/q/600103.htm#price

http://stock.gtimg.cn/data/index.php?appn=price&c=sh600103


日K 后复权

http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayhfq&param=sh600103,day,,,320,hfq&r=0.9860043111257255

320代表查询几天的历史数据 初步推断 1年为320 两年为640

http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayhfq&param=sh600103,day,1998-01-01,1998-12-31,320,hfq&r=0.444157593883574

http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayhfq&param=sh600103,day,1999-01-01,1999-12-31,320,hfq&r=0.7529798413161188

http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayhfq2000&param=sh600103,day,2000-01-01,2001-12-31,640,hfq&r=0.7360555452760309


日K线 百度股市通

https://gupiao.baidu.com/stock/sh600103.html

https://gupiao.baidu.com/api/stocks/stockdaybar?from=pc&os_ver=1&cuid=xxx&vv=100&format=json&stock_code=sh600103&step=3&start=&count=320&fq_type=front&timestamp=1486464067730

https://gupiao.baidu.com/api/stocks/stockdaybar?from=pc&os_ver=1&cuid=xxx&vv=100&format=json&stock_code=sh600103&step=3&start=20150907&count=160&fq_type=no&timestamp=1486463762308


修改count的值为最大,不带start即可。 fq_type为复权。

分时成交Excel:

http://stock.gtimg.cn/data/index.php?appn=detail&action=download&c=sh600103&d=20170124 旧新都有

http://market.finance.sina.com.cn/downxls.php?date=2017-01-24&symbol=sh600103 新的全


现货黄金:

http://quote.fx678.com/symbo?exchName=WGJS&symbol=XAU

http://api.q.fx678.com/quotes.php?exchName=WGJS&symbol=XAU



另外 网易股票 新浪 雪球 也都是不错的选择。

0 0