CO Leg Order ID

Shabeershah2002
Hi
I have noticed that CO leg order IDs are generating exactly 1 number above the parent order ID , for example if parent ID is 12345 then leg order ID is 12346, would it be possible for you to confirm that this will be the case always ?, so that i can avoid some logic and just stick on the parent ID then add 1 to it get leg order ID without doing much work !! ? ;)

Tagged:
  • sujith
    Nope, that is dangerous. If there is high liquidity in the market then this pattern might change.
  • Man7630
    No, You need to extract it from the Order book.
Sign In or Register to comment.