BO parent_order_id behavior

ramatius
Hi,
When a BO SL order is executed, the parent_order_id is sometimes filled up, sometimes not.

When a BO SL BUY order is COMPLETEd, the txn record's parent_order_id is NULL and the order_id is same as the original SL order_id.

When a BO SL SELL order is COMPLETEd, the txn record's parent_order_id contains the actual parent order id and the order_id is a new order_id.

This is causing complications in the algo execution. Pls explain the reason for this behavior and/or make it uniform & consistent.

Note: Both are fresh SL orders; no prior orders entered.

Appreciate your response.

Regards,
Ramakrishnan S
This discussion has been closed.