天天基金实时信息:http://fundgz.1234567.com.cn/js/161725.js?rt=1463558676006
161725为基金代号!!!
返回值:
jsonpgz({"fundcode":"161725","name":"招商中证白酒指数(LOF)A","jzrq":"2021-12-21","dwjz":"1.3768","gsz":"1.3797","gszzl":"0.21","gztime":"2021-12-22 15:00"});
jzrq | 基金开始日期 |
dwjz | 净值 |
gsz | 估算净值 |
gszzl | 估算涨跌幅 |
gztime | 时间 |
http://fund.eastmoney.com/js/fundcode_search.js
所有基金名称列表代码
http://fund.eastmoney.com/js/jjjz_gs.js?dt=1463791574015
所有基金公司名称列表代码
(1)新浪财经
http://hq.sinajs.cn/list=sh600519,sz300750,其中sh代表上海、sz代表深圳(需要小写sh和sz)
返回值:
var hq_str_sh600519="贵州茅台,2040.000,2038.200,2048.000,2063.000,2040.000,2047.980,2048.000,1743079,3570928372.000,100,2047.980,200,2047.970,100,2047.360,700,2047.340,300,2046.500,919,2048.000,200,2048.010,4000,2048.140,500,2048.630,500,2048.830,2021-12-22,15:00:03,00,";
var hq_str_sz300750="宁德时代,608.800,604.070,610.240,617.000,603.000,610.240,610.250,8361840,5103433201.980,3861,610.240,200,610.210,100,610.160,200,610.120,400,610.090,100,610.250,700,610.310,100,610.330,100,610.390,3700,610.400,2021-12-22,15:00:03,00";
这个字符串由许多数据拼接在一起,不同含义的数据用逗号隔开了,按照程序员的思路,顺序号从0开始。
0:”贵州茅台”,股票名字;
1:”27.55″,今日开盘价;
2:”27.25″,昨日收盘价;
3:”26.91″,当前价格;
4:”27.55″,今日最高价;
5:”26.20″,今日最低价;
6:”26.91″,竞买价,即“买一”报价;
7:”26.92″,竞卖价,即“卖一”报价;
8:”22114263″,成交的股票数,由于股票交易以一百股为基本单位,所以在使用时,通常把该值除以一百;
9:”589824680″,成交金额,单位为“元”,为了一目了然,通常以“万元”为成交金额的单位,所以通常把该值除以一万;
10:”4695″,“买一”申请4695股,即47手;
11:”26.91″,“买一”报价;
12:”57590″,“买二”
13:”26.90″,“买二”
14:”14700″,“买三”
15:”26.89″,“买三”
16:”14300″,“买四”
17:”26.88″,“买四”
18:”15100″,“买五”
19:”26.87″,“买五”
20:”3100″,“卖一”申报3100股,即31手;
21:”26.92″,“卖一”报价
(22, 23), (24, 25), (26,27), (28, 29)分别为“卖二”至“卖四的情况”
30:”2008-01-11″,日期;
31:”15:05:32″,时间;
(2)腾讯财经
http://qt.gtimg.cn/q=sh600519,sz300750,其中sh代表上海、sz代表深圳(小写sh和sz)
返回值:
v_sh600519="1~贵州茅台~600519~2048.00~2038.20~2040.00~17431~9758~7673~2047.98~1~2047.97~2~2047.36~1~2047.34~7~2046.50~3~2048.00~9~2048.01~2~2048.14~40~2048.63~5~2048.83~5~~20211222160000~9.80~0.48~2063.00~2040.00~2048.00/17431/3570928372~17431~357093~0.14~51.31~~2063.00~2040.00~1.13~25726.93~25726.93~14.76~2242.02~1834.38~0.50~-47~2048.61~51.78~55.09~~~1.32~357092.8372~0.0000~0~ ~GP-A~3.50~-4.07~0.94~28.76~23.70~2608.59~1525.50~0.24~5.51~25.05~1256197812~1256197812~-62.67~1.65~1256197812";
v_sz300750="51~宁德时代~300750~610.24~604.07~608.80~83618~41088~42531~610.24~39~610.21~2~610.16~1~610.12~2~610.09~4~610.25~1~610.31~7~610.33~1~610.39~1~610.40~37~~20211222160103~6.17~1.02~617.00~603.00~610.24/83618/5103433202~83618~510343~0.41~142.56~~617.00~603.00~2.32~12440.70~14223.79~19.45~724.88~483.26~0.76~1~610.33~137.63~254.75~~~1.89~510343.3202~12.2048~2~ A~GP-A-CYB~73.92~-5.97~0.04~13.73~4.64~692.00~279.81~-4.50~-7.37~23.70~2038656562~2330851250~1.05~95.99~2038656562";
(3)雪球
https://stock.xueqiu.com/v5/stock/realtime/quotec.json?symbol=SH600519,SZ300750,其中SH代表上海、SZ代表深圳(大写SH和SZ)
{"data":[{"symbol":"SZ300750","current":610.24,"percent":1.02,"chg":6.17,"timestamp":1640158443000,"volume":8361840,"amount":5.103433201E9,"market_capital":1.422378636288E12,"float_market_capital":1.244069748662E12,"turnover_rate":0.41,"amplitude":2.32,"open":608.8,"last_close":604.07,"high":617.0,"low":603.0,"avg_price":610.324,"trade_volume":0,"side":-1,"is_trade":false,"level":1,"trade_session":null,"trade_type":null,"current_year_percent":73.89,"trade_unique_id":"8361840","type":11,"bid_appl_seq_num":null,"offer_appl_seq_num":null,"volume_ext":200,"traded_amount_ext":122048.0,"trade_type_v2":null},{"symbol":"SH600519","current":2048.0,"percent":0.48,"chg":9.8,"timestamp":1640156400000,"volume":1743079,"amount":3.57092837249E9,"market_capital":2.5726930944E12,"float_market_capital":2.5726930944E12,"turnover_rate":0.14,"amplitude":1.13,"open":2040.0,"last_close":2038.2,"high":2063.0,"low":2040.0,"avg_price":2048.6325476297975,"trade_volume":null,"side":null,"is_trade":false,"level":2,"trade_session":null,"trade_type":null,"current_year_percent":3.47,"trade_unique_id":null,"type":11,"bid_appl_seq_num":null,"offer_appl_seq_num":null,"volume_ext":null,"traded_amount_ext":null,"trade_type_v2":null}],"error_code":0,"error_description":null}
上海股票是指在上海交易所上市的股票,沪市A股以600、601、603开头,沪市B股以900开头,科创板股票以688开头;
深圳股票是指在深圳交易所上市的股票,深市A股以000开头,深市B股以200开头,中小板以002开头,创业板股票以300开头;
权证:沪市是580开头,深市是031开头
A股即人民币普通股票;
B股即人民币特种股票,以人民币标明面值,以外币认购和买卖;