The order details of the buy and sell prices of the stock l2 interface are the status of the buy, sell and position positions. The pending orders allow users to keep abreast of the transaction queue and thus understand the complete opening situation. Users can judge whether there are main funds involved in the gear by observing the pending orders, so as to judge the main force dynamics at the opening of the market, and then grasp investment opportunities.
1. Stock l2 interface (order by order)
field name |
type |
Remark |
stock_exchange |
uint32 |
Stock market, 1-SH, 2-SZ |
stock_code |
string |
Securities code |
created_at |
int64 |
Delegated Date Timestamp (milliseconds) |
code |
string |
Principal ID |
price |
uint32 |
Order price |
volume |
uint64 |
Order quantity |
amount |
uint64 |
Turnover |
tx_dir |
uint32 |
Trading direction: 0-unknown, 1-buy, 2-sell |
tx_kind |
uint32 |
Transaction type: 1-market price, 2-limit price, 3-priority of the party, 10-cancellation, 11-unclear (funds/bonds have this value) |
Return example:
The above is the relevant introduction to the entrustment details of the stock l2 interface one by one. If you want to check more stock l2 interface information, you can go to https://gitee.com/l2gogogo or leave a message to the editor through the business card below!