股票接口

实时行情:

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(/\(newString\(|\)\);/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¶m=sh600103,day,,,320,hfq&r=0.9860043111257255

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

http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayhfq¶m=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¶m=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¶m=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×tamp=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×tamp=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

 

posted @ 2019-01-16 18:34  m*x*h  阅读(4608)  评论(0编辑  收藏  举报