Closed q0v0p closed 19 hours ago
I want to get data at a depth of 50 quickly with delta update.
Sorry if my method is wrong, I would be grateful if you could show me the correct way to do it. @JKorf
Any reason you're looking in the source? What you're looking at there is an implementation of the a book ticker subscription for a shared interface. If you're looking to just subscribe to an order book stream you can use this:
var subscriptionResult = bybitSocketClient.V5SpotApi.SubscribeToOrderbookUpdatesAsync("ETHUSDT", 50, update =>
{
// Handle update
});
Sorry, the problem has been resolved. I had mistakenly thought that the depth could be set freely. I will close this issue. Thank you for your cooperation. @JKorf
Does SubscribeToOrderbookUpdatesAsync only support a depth of 1?