Unable to get order id of SL order in cover order

rjamitsharm
rjamitsharm edited March 2021 in Python client
hello

I am facing issue while tryin to get stop loss order order id in cover order

the method i follow is

place cover order and get order id

then fetch all positions and check order with parent order id as order id and if in any order parent order id is equal to order id then the order id of such order is sl order id

but some times it does not find sl order id

is there any way to cancel such order if I dont find sl order id
  • sujith
    Once an SL order's trigger is hit, it becomes a limit order. The system will always place both orders.
Sign In or Register to comment.