bithumb-pro / bithumb.pro-official-api-docs

rest and websocket api doc
22 stars 26 forks source link

Limit Size of Order Book #97

Open onurece opened 2 years ago

onurece commented 2 years ago

Hi, When I send a get request to {base-endpoint}/spot/orderBook, I always get a ton of results back, but most of the time I'm only interested in the top ask and bid results. The rest is just putting unnecessary load on your server.

In some other exchanges, their APIs also take an optional "limit" parameter and return only the top "limit" number of results from both ask and bid sides.

Is it possible for you to implement such a feature so that the load to your servers would be reduced and your website would work faster?