Hello, IB API newbie here so don't be too harsh...Please... I have a system that generate buy and sell limit orders on both side of the order book and does a lot of cancel/replace... That part is fine... Limit orders update fine... The problem is I don't know how to request if one of the 2 orders have been filled. I use an id generator for orders so I obviously don't know what the ids are for my 2 open orders and I want to enter new orders as soon as one is filled. What is the easiest way to know what are your position in your portfolio? Is their a way to just get your current position on IB portfolio without having to get the order id. Also, if someone wants to share a well made id generator , it would be great 'cause mine is quite crooked... Thanks a lot and good trade.