@ds-avatar
Thanks for detailed reply. Appreciated. This was one MKT order on all existing shares ( full position ) from previous Buy order. This happens rather often.
Also often the buy order has partial fills, my current system sends for each fill separate sell order, so if i got it right, i need to create one sell order with full position otherwise its treated as separate sell orders altho they were created based on one buy order? That would rather complicate things :/