(1) safety first
I always want to be fully protected so for every initial order there should be an attached stop (and profit) at the broker.
Also for partial filled orders this should be the case. As soon as a primary order is partial filled a protected stop order should be in place on broker side. If the primary order gets a second fill the stop order should be updated.
But there should not be extra commission. The original order should be commisioned as one even when filled in 2 or more times.
Most important is that for every primary order there should always be the attached stop in place at brokers side. If primary order is partially filled than also the stop order is updated accordingly.
So when loosing a connection or crashing of the platform/computer or broker server down you are always protected.
(2)
Is it important to program the tracking of the partial fills in the strategy? Or is this taken care of by broker/NT for both managed and unmanaged approach
I see here the potential for the strategy to get completely confused. For example: what if a primary order never fills completely before its reaches the stop or the profit.
Are the stop and profit closing the trade for the same amount as the partial filled primary order?
How is this arranged within NT.?
How do i need to program this to be completely watertight?
Are there examples available that deal with this?
thank you all

Comment