This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2814|Reply: 0

【Stocks】Tencent's market data interface

[Copy link]
Posted on 2025-1-5 11:09:36 | | |

Tencent, Hexun.com, Sina, Snowball, NetEase stock interface data
https://www.itsvse.com/thread-9344-1-1.html


Taking Wuliangye as an example, to get the latest market information, 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.84~";
Split the content of the string with ~, starting with 0, and then is
0: Unknown
1 : First name
2: Code
3: Current price
4: Yesterday's harvest
5: Open now
6: Volume (lots)
7: Outer disc
8: Inner Plate
9: Buy one
10: Buy a Quantity (Lot)
11-18: Buy two buy five
19: Sell one
20: Sell a quantity
21-28: Sell 2 Sell 5
29: Recent deal-by-deal
30: Time
31: Rise and fall
32: % Change
33: Highest
34: Lowest
35: Price/volume (lots)/turnover
36: Volume (lots)
37: Turnover (10,000)
38: Turnover rate
39: P/E ratio
40:
41: Highest
42: Lowest
43: Amplitude
44: Circulating market capitalization
45: Total Market Cap
46: P/B ratio
47: Limit price
48: Limit price

Get real-time money flows:

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";
Split the content of the string with ~, starting with 0, and then as:
0: Code
1: Main inflow
2: The main force is outflowing
3: Main net inflow
4: The sum of the main net inflow/capital inflow and outflow
5: Retail inflows
6: Retail outflow
7: Net inflow of retail investors
8: Sum of net retail inflows/inflows and outflows
9: The sum of capital inflows and outflows is 1+2+5+6
10: Unknown
11: Unknown
12: First name
13: Date

Get market analysis:

http://qt.gtimg.cn/q=s_pksz000858
Return data:
v_s_pksz000858="0.196~0.258~0.221~0.325";
Split the content of the string with ~, starting with 0, and then as:
0: Buy order
1: Buy small order
2: Sell large orders
3: Sell order

Get 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";
Split the content of the string with ~, starting with 0, and then as:
0: Unknown
1 : First name
2: Code
3: Current price
4 : Rise and fall
5: % Change
6: Volume (lots)
7: Turnover (10,000)
8:
9: Total market capitalization




Previous:(Flash) iPad flashing firmware tutorial using iTunes
Next:Two ONNX model optimizers
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com