Hi there. I’m not very experienced in Binance API, so I’ve got couples of questions about ‘order book’ web service. I’ll be glad to get exhaustive answers.
-
The ‘/api/v3/depth’ return a list of buy/sell orders from actual order book. But single item (buy/sell order) does not have any individual identification number. So how to distinguish old orders from new ones? Is JSON message keeps the orders sorted (in some way)? For example by time created?
-
The service has a limit of 5000 orders to show in the one JSON message. Is this mean that the oldest orders which exceeds list of 5000 items will not be shown? This question is linked to the first one.
-
For how long one particular order can be active (and visible in order book) if it is not completed because of (for example) ridiculous price?
-
The service has this unique identification value ‘LAST UPDATE ID’ dedicated whole message. I was wandering is this value changes after every (even smallest) change in order book? For example only one order is cancelled/completed/added. Or maybe there is a minimal time interval after which new ‘LAST UPDATE ID’ is assigned?