Support Board
Date/Time: Tue, 04 Nov 2025 05:11:46 +0000
Post From: ASCIL Different OrderIDs for Same Order
|   [2023-08-21 08:31:34]     |  
| User431178 - Posts: 805 | 
| 
                 The order ids are declared as int and only being set when there is a new trade initiated. 
Where and how are LongOrderId and ShortOrderId being declared and set? Please post the relevant section of code. Order Ids should only be generated when a new trade is initiated. I've shown that this is not the case. Also order ids should be discrete and non negative.  
This suggests a problem with your code.
                 | 
        
