But I'm building a strategy that enters at a limit order with a fixed stop and target.
If I have the execution code be 3 lines with "Long" as the string tying them all together...
EnterLongLimit
SetStopLoss
SetProfitTarget
Will the stop loss and target wait until the long trade is filled before being sent to market? My worry here is that the limit doesn't get filled and the market trades to my target without a position and then suddenly I'm short. Will normal order handling avoid this?
Also, if I cancel the long limit in my strategy because it is not filled in time, will the target and stop cancel as well?
Comment