What details should be paid attention to when docking the stock l2 interface?
The first is the connection of the system. With the continuous development of software, a lot of software has been decomposed into different modules, but in the specific design, the role of each interface is very important, because in the actual design, the software It needs to be completed by software, so as to realize the reasonable division of software.
Secondly, it reduces the dependence on the system. It is a unique platform that enables users to obtain a good experience in the process of obtaining the stock l2 interface, thereby reducing the dependence on the system and enhancing the cohesion of each system.
In addition, the number of software interfaces is also limited, while functions and subroutines allow programmers to do a lot of work, such as browsing documents, browsing web pages, and selecting appropriate stock l2 interfaces according to their own needs through the data platform.
Finally, it is necessary to establish a high-quality stock l2 interface. In the process of docking, in addition to checking your own information, you also need high-quality information provided by the other party. These information are carefully selected, quality and stability Sex is all good, especially for those who need stability and need more.
Example of the docking field name of the stock l2 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:
For many developers, being able to get better performance and a better stock l2 interface is the most effective assistant to get stock l2 interface data. This is the end of today's sharing. If you are interested in the l2 interface, please contact the qq business card below for further consultation.