How to use the data analysis of the stock apiL2 interface?
Generally, the stock apiL2 interface is selected, and the relevant data can be directly queried and viewed.
The data obtained from it are also authentic, so don't worry about the accuracy of the data.
In addition, stockholders not only need to know the relevant data when speculating in stocks, but also need to be able to accurately analyze and judge its increase, so as to decide to buy and sell to obtain income.
Let's take a look at the ten snapshots of the stock apiL2 interface:
field name |
type |
Remark |
stock_exchange |
uint32 |
Securities market, see Data Dictionary |
stock_code |
string |
Securities code |
created_at |
int64 |
snapshot date timestamp (milliseconds) |
status |
uint32 |
Status: 0-before market opening, 1-opening call auction, 2-call auction to continuous auction, 3-continuous auction, 4-closed at noon, 5-closing call auction, 6-closed market |
prev_close_price |
uint32 |
previous closing price |
open_price |
uint32 |
opening price |
latest_price |
uint32 |
Latest price |
high_price |
uint32 |
highest price |
low_price |
uint32 |
lowest price |
limit_up_price |
uint32 |
limit price |
limit_down_price |
uint32 |
limit price |
order_quantity |
uint32 |
Number of transactions |
volume |
uint64 |
The number of transactions |
amount |
uint64 |
Turnover |
bid_volume |
uint64 |
Entrusted purchase quantity |
bid_price |
uint32 |
Weighted average price of entrusted buying |
ask_volume |
uint64 |
Entrusted selling quantity |
ask_price |
uint32 |
Weighted average price of entrusted selling |
bid_price_detail |
repeated uint32 |
Details of entrusted purchase price (ten files) |
bid_volume_detail |
repeated uint32 |
Details of entrusted purchase quantity (ten files) |
ask_price_detail |
repeated uint32 |
Details of entrusted selling price (ten files) |
ask_volume_detail |
repeated uint32 |
Details of entrusted selling quantity (ten levels) |
Return example:
However, not everyone is able to conduct relevant data analysis, so at this time, the data of the stock apiL2 interface can be used for analysis, so as to make the next step of decision-making.
This is the end of today's sharing. If you want to know more about the L2 market interface , you can choose to go to https://gitee.com/l2gogogo , or find the qq business card below.