股票

新浪实时股票数据接口

股票数据抓取接口(综合)

新浪A股、港股、美股、股票期权行情接口

通过网易财经接口获取股票和指数的历史数据

腾讯新浪网易和讯雪球接口

http://hq.sinajs.cn/list=gb_msft     (微软)     
http://hq.sinajs.cn/list=gb_dji      ( 道指)
http://hq.sinajs.cn/list=gb_ixic     (纳斯达克)
http://hq.sinajs.cn/list=hkHSI        (恒生指数)

深成指数:  http://hq.sinajs.cn/list=sz399001
上证指数:  http://hq.sinajs.cn/list=sh000001
道琼斯:    http://hq.sinajs.cn/list=int_dji
纳斯达克:  http://hq.sinajs.cn/list=int_nasdaq
恒生指数:  http://hq.sinajs.cn/list=int_hangseng
日经指数:  http://hq.sinajs.cn/list=int_nikkei
台湾加权:  http://hq.sinajs.cn/list=b_TWSE
新加坡:    http://hq.sinajs.cn/list=b_FSSTI

日K线查询: http://image.sinajs.cn/newchart/daily/n/sh601006.gif
分时线查询:http://image.sinajs.cn/newchart/min/n/sh000001.gif
日K线查询: http://image.sinajs.cn/newchart/daily/n/sh000001.gif
周K线查询: http://image.sinajs.cn/newchart/weekly/n/sh000001.gif
月K线查询: http://image.sinajs.cn/newchart/monthly/n/sh000001.gif

Google 的数据
1.实时数据 http://www.google.com/ig/api?h1=zh-CN&stock=600001
2.K线图 http://www.google.cn/finance/getchart?q=600336&x=SHA&p=5d&i=240 http://www.google.com/finance/chart?q=SHA:600001&tlf=12
3.补全信息 "http://www.google.cn/finance/match?matchtype=matchall&q=600".

Yahoo 的数据
1.实时数据 http://download.finance.yahoo.com/d/quotes.csv?s=600336.SS&f=sl1d1t1c1ohgv&e=.csv
2.K线图 http://ichart.finance.yahoo.com/t?s=600036.ss
3.K线图数据 http://chartapi.finance.yahoo.com/instrument/1.0/000001.ss/chartdata;type=quote;range=3m


https://medium.com/ai%E8%82%A1%E4%BB%94/%E7%94%A8-python-%E6%89%93%E9%80%A0%E8%87%AA%E5%B7%B1%E7%9A%84%E8%82%A1%E5%B8%82%E8%B3%87%E6%96%99%E5%BA%AB-%E7%BE%8E%E8%82%A1%E7%AF%87-e3e896659fd6
https://medium.com/ai股仔/用-python-打造自己的股市資料庫-美股篇-e3e896659fd

雅虎财经定制    https://finance.yahoo.com/screener  
可以定制全球股市的即时信息

标准普尔500指数     https://www.slickcharts.com/sp500

yahoo财经    https://finance.yahoo.com/lookup

ttps://blog.quantinsti.com/stock-market-data-analysis-python/ | Stock Market Data And Analysis In Python

新浪实时股票数据接口
http://hq.sinajs.cn/list=code

http://quotes.money.163.com/service/chddata.html?code=0000001&start=19901219&end=20150911&fields=TCLOSE;HIGH;LOW;TOPEN;LCLOSE;CHG;PCHG

fields=TCLOSE;HIGH;LOW;TOPEN;LCLOSE;CHG;PCHG;TURNOVER;VOTURNOVER;VATURNOVER;TCAP;MCAP

这里0000001指的是上证指数。注意这串数字要分0和000001两部分看。0代表sh,1代表sz。所以0000001其实是sh000001的意思。
同理,0 000300也就是sh000300 沪深300的代码。
后面的start和end表示时间满园。
fields选项中,TCLOSE,HIGH,LOW,TOPEN分别表示当日的收盘,最高,最低,开盘价;
LCLOSE表示昨日收盘价。
CHG,PCHG,VOTURNOVER,VAT分别表示涨跌额,涨跌幅,成交量,成交金额。
如果你在浏览器中直接输入网址的话,会下载一个csv文件


====== get latest data for multiple codes
http://api.money.126.net/data/feed/0000001,0601857,0601600,0600900,1002024,money.api?callback=_ntes_quote_callback82292434

====== get latest data for one codes
http://api.money.126.net/data/feed/0600149?callback=ne1fb846bfd2958e
http://api.money.126.net/data/feed/1000001?callback=ne1fb846bfd2958e

====== get list
http://quotes.money.163.com/hs/service/marketradar_ajax.php?page=0&query=STYPE%3AEQA&types=JHJJFL&count=28&type=query

读懂中国股市

2017-08-28

个人所得税公式: =ROUND(MAX((A1-3500)*{0.03,0.1,0.2,0.25,0.3,0.35,0.45}-{0,105,555,1005,2755,5505,13505},0),2)

证券交易

九六年入股市至今,浅谈入市多年的炒股经验

2017-05-02

K线图基本知识