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

rest and websocket api doc
22 stars 26 forks source link

access to historical trades #71

Open akasimo opened 3 years ago

akasimo commented 3 years ago

I would like to access historical trades. How can I manage this?

According to the documentation trade records method only gets one parameter which is "symbol". https://github.com/bithumb-pro/bithumb.pro-official-api-docs/blob/master/rest-api.md#3-trade-recordslast-100

However I noticed that it you can also set "limit" parameter to the query and it works, however limit is not defined in the docs. Example: https://global-openapi.bithumb.pro/openapi/v1/spot/trades?symbol=BTC-USDT&limit=20

I thought there might be some other params that we can use to fetch the historical trade data however I couldnt find it. Please let me know if you know how.