常用股票接口


實時行情:

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 新的全


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM