fromId error in myTrades

I was testing the endpoint “allOrders” and “myTrades” and I think there is an error in " myTrades ", the fromId parameter works the same as the limit, that is, if you pass 10 in fromId it returns the last 10 trades of the symbol that you consulted, why have the limit if fromId does the same? When reading the notes at the end of the myTrades endpoint they mention the following:

  • If fromId is set, it will get orders >= that fromId. Otherwise most recent orders are returned.

And in the allOrders endpoint it says almost the same

  • If orderId is set, it will get orders >= that orderId. Otherwise most recent orders are returned

Which makes me think that fromId is the same as orderId, However, as I mentioned, the fromId parameter does not work if you pass it a valid orderId, the query does not return any data as you can see in the following image

Another curious thing is that in Postman the description that appears next to fromId is the same description that appears for limit in the documentation

fromId LONG NO TradeId to fetch from. Default gets most recent trades.
limit INT NO Default 500; max 1000.


.

That is why I conclude that there is an error in the fromId parameter of myTrades

fromId in /api/v3/myTrades is used for specific the start of the query.

  • fromId=9999 => query 1000 trades starting from tradeId = 9999
  • fromId=9999&limit=10 => query 10 trades starting from tradeId = 9999

orderId is not available from this endpoint. Hope this will be helpful.

Nice to meet you,
I want to ask a question about id of fromId that each symbol have their own id from 1 to N or All symbol use the same id from 1 to N?