The endpoint https://vapi.binance.com/vapi/v1/trades. It’s not respecting the limit of anything more than 100, in the API it says the maximum limit is 500.
This can be seen by placing a rest order with limit = 500 for asset BTC-210806-40000-P. If we make the same order, but at the historicalTrades endpoint it is returning more trades than 100. Can you see why you are not returning until 500 Trades?
Another question, how can I ‘translate’ the ID receiveid from the endpoint Trades to the ID received forthe same trade from the endpoint historicalTrades?