tx股票接口小计

本文列举了多个获取腾讯股票实时行情、分时成交、逐分钟数据、日K线等信息的API接口,包括腾讯财经、新浪投资易和百度股市通等来源。可用于实时监控和分析股票数据。

腾讯 


实时行情:

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



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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值