Stock Finance Data Interface (II)

Source: Internet
Author: User

The stock market has plummeted recently, and intends to do some data analysis. Turn to the data interface, and so I finish the data analysis have specific conclusions to write it out.

To reveal a point, 08 is the contraction of the decline, 15 is the volume of decline, obviously there is a suspicion of goods, specifically who is not good to say.

Before using Sina's stock data, because Sina Http/javascript lacks some data, uses the chrome own development tool to monitor the Teng Xun financial HTTP information, obtains the following method to obtain the stock data.

Take Wuliangye as an example, to get the latest quotes, access the data interface:

http://qt.gtimg.cn/q=sz000858

Return Data:

v_sz000858= "51~ Wuliangye
~000858~27.78~27.60~27.70~417909~190109~227800~27.78~492~27.77~332~27.76~202~27.75~334~27.74~291~27.79~305~ 27.80~570~27.81~269~27.82~448~27.83~127~15:00:13/27.78/4365/
s/12124331/24602|14:56:55/27.80/14/s/38932/24395|14:56:52/27.81/116/b/322585/24392|14:56:49/27.80/131/s/364220 /24385|14:56:46/27.81/5/b/13905/24381|
14:56:43/27.80/31/b/86199/24375~20121221150355~0.18~0.65~28.11~27.55~27.80/413544/1151265041~417909~116339~ 1.10~10.14~~28.11~27.55~2.03~1054.39~1054.52~3.64~30.36~24.8
4~ ";

To divide the contents of a string by ~, the subscript starts at 0 and is:

0: Unknown
1: the name
2: Code
3: Current Price
4: Prev Closed
5: Open today
6: Volume (Lot)
7: Outer Plate
8: Inner Plate
9: Buy a
10: Buy a quantity (hand)
11-18: Buy two buy five
19: Sell One
20: Sell A Quantity
21-28: Sell two sell five
29: Most recent transaction
30: Time
31: Ups and downs
32:%
33: Highest
34: Lowest
35: Price/volume (Lot)/turnover
36: Volume (Lot)
37: Turnover (million)
38: Rate of change of hand
39: P/E ratio
40:
41: Highest
42: Lowest
43: Amplitude
44: Circulating Market value
45: Total Market capitalization
46: City Net rate
47: Trading Price
48: Falling Price

Get real-time money flow:

http://qt.gtimg.cn/q=ff_sz000858

Return Data:

V_ff_sz000858= "sz000858~41773.67~48096.67~-6322.99~-5.53~10200.89~14351.02~-4150.13~-3.63~114422.25~53015.90~ 59770.57~ Wuliangye ~20121221 ";

To divide the contents of a string by ~, the subscript starts at 0 and is:

0: Code
1: Main inflow
2: Main outflow
3: Main net Inflow
4: Main net inflow/capital inflow outflow sum
5: Retail Inflow
6: Retail Outflow
7: Retail net Inflow
8: Retail net inflow/capital inflow outflow sum
9: Capital inflow outflow sum 1+2+5+6
10: Unknown
11: Unknown
12: The name
13: Date

Get Handicap Analysis:

http://qt.gtimg.cn/q=s_pksz000858

Return Data:

V_s_pksz000858= "0.196~0.258~0.221~0.325";

To divide the contents of a string by ~, the subscript starts at 0 and is:

0: Buy a large single
1: Buying Small single
2: Sell Large single
3: Sell Small order

For brief information:

http://qt.gtimg.cn/q=s_sz000858

Return Data:

v_s_sz000858= "51~ Wuliangye ~000858~27.78~0.18~0.65~417909~116339~~1054.52";

To divide the contents of a string by ~, the subscript starts at 0 and is:

0: Unknown
1: the name
2: Code
3: Current Price
4: Ups and downs
5:%
6: Volume (Lot)
7: Turnover (million)
8:
9: Total Market capitalization

Stock Finance Data Interface (II)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.