How unique is the order ID?

Hi,

I found that a orderId isn’t unique, I had the same one for a sell order on the SUSHI/USDT pair and for a buy order on DATA/USDT pair.
How is it possible?

I found an answer here: https://www.reddit.com/r/BinanceExchange/comments/9kyn6w/api_how_to_uniquely_identify_the_order_and_all/

Which said that : “orderId is an automatically generated id, unique on that pair.”
Is it true?

Thanks for your answers :slight_smile:

Thanks :slight_smile: I was looking for a confirmation.
Maybe I’m wrong but I didn’t find anything about that in the documentation. If I’m not wrong it should be added.

Hi.
Yes, it’s same as your investigation result. The order id is unique among all the orders of the same pair.