Query:
If I place a buy order first and, after some time, a sell order to square off the trade:
What will remain the same between the following:
(A) Buy order
(B) Sell order
(C) GetTradeBook
(D) GetOrderBook
Specifically, will the "Order ID" and "Unique Order ID" be the same in these cases?
Each order provides both "Order ID" and "Unique Order ID." My concern is to confirm whether the square-off trade was successfully executed. Although I can refer to the TradeBook to check Trade Executed, there may be multiple Trade Executed in the day for the same token ID, making it unclear.