This article helps when a follower account's stop loss or take profit (target) was cancelled, is missing, or no longer matches the leader: the follower position is left without protection, a fill on one account cancelled an order on another account, or the follower still has a stop or target that the leader already moved or cancelled. It lists the causes that were fixed in Replikanto 1.7.0.0 and later, the causes that still apply, the Log tab lines to look for (including the lines written by Replikanto 1.7.1.0), and what to do.
Symptoms
- "My follower's stop loss disappeared" or "the follower's target was cancelled when the leader's stop filled", and the follower position was left with no stop or target.
- "A fill on one account cancelled the working orders on my other account" (several accounts on the same Rithmic or Tradovate login, for example prop firm accounts).
- "I moved or cancelled the stop on the leader, but the follower still has the old one."
- "The follower has an extra stop or target that the leader does not have."
- "After adding contracts, the follower's stop is smaller than its position."
- "The follower entered the trade but has no stop or target, and the Log shows Error [1115]" (ATM Copy).
- "The follower did not enter this trade, and the Log shows Error, Warning or Info [1114], or Error [1112]" (ATM Copy).
- "The Log shows Error [1113] or Error [1079] after an ATM Copy entry" (the follower's ATM strategy has no stop or target).
First: check your Replikanto version
Several of these cases were fixed in Replikanto 1.7.0.0. If you run an earlier version, update to 1.7.0.0 or newer. Until then, check the follower's stops and targets after every exit on the leader and correct them by hand.
Causes fixed in Replikanto 1.7.0.0
The last stop or target was cancelled right after the leader's opposite exit filled
When the leader's stop or target fills, NinjaTrader cancels the other exit of the same OCO group on the leader. Replikanto does not copy that cancel: the follower's own OCO group clears the follower's copy when the follower's exit fills. In rare cases in earlier versions (a slow broker, a remote follower, many followers), that cancel was copied anyway, and it removed the follower's last stop or target, leaving the follower position unprotected. This was fixed in 1.7.0.0.
After one ATM exit filled, a later cancel or price change of the remaining stop or target was not copied
After one of the leader's ATM exits had filled (for example, the first target of a two-target ATM strategy), a later cancel or price change of the leader's remaining stop or target could be skipped, so the follower kept an order the leader no longer had. This was fixed in 1.7.0.0: that later cancel or price change is copied to the follower.
With Stealth Mode or ATM Copy, a fill on one account cancelled an order on another account
With Stealth Mode or ATM Copy on, and more than one account on the same broker connection (for example, several prop firm accounts under one Rithmic or Tradovate login), a fill on one account could cancel a working order on another account. This was fixed in 1.7.0.0: each follower's orders now use their own OCO group, so a fill on the leader or on another account does not cancel them. Without Stealth Mode and ATM Copy, follower orders already used their own OCO group before 1.7.0.0.
With Stealth Mode or ATM Copy, after a leader order was renamed, a later change or cancel was not copied
NinjaTrader sometimes renames an order on its own. With Stealth Mode or ATM Copy on, after a leader order was renamed, a later change or cancel of that order was not copied, so the follower kept a stop or target the leader no longer had. This was fixed in 1.7.0.0. You do not need to avoid anything on your side: the rename is done by NinjaTrader, not by you.
A move of the leader's stop or target could be lost while the follower's order was still being placed
Rarely, a move of the leader's stop or target was not copied when it arrived while the follower's copy of that order was still being placed or changed, so the follower's order stayed at its old price. Starting with Replikanto 1.7.0.0 it is copied.
After a partial fill, a change to the quantity of the leader's stop or target was not copied
With a manual stop and target bracket and a follower without ATM Copy, after part of the bracket had filled, a change by the leader to the quantity of its stop or target was not copied. After a partial exit, when the leader reduced its target and stop, the follower's target or stop could stay larger than the follower's position and reverse the follower when it filled, while the leader went flat. After a scale-in, the contracts added were left without a stop. This was fixed in 1.7.0.0: the trader's change to the quantity of the stop or target is copied to the follower's matching order, scaled to the follower's size. The resize that NinjaTrader itself makes to the other order of the bracket after each fill is not copied, because the follower's own NinjaTrader makes its own. Followers on Pre Allocation or Pct Change keep their own sizing, so for them the copied change does not scale with the leader's quantity.
Cause fixed in Replikanto 1.7.2.0
With ATM Copy, a Tradovate leader's simulated stop moved the follower's stop to 0
When NinjaTrader triggers a simulated stop on a Tradovate leader, it sends the stop out as a market order, and the leader's order then shows Change submitted with Stop price=0 before it fills. In Replikanto 1.7.1.0 and earlier, that change was copied: each ATM Copy follower's stop, still Trigger pending, was moved to 0, where it could never trigger, so the follower stayed in the trade after the leader was flat, usually marked Out of sync (Info [1064]). In the Log tab, the leader's SimStop1 line with Stop price=0 is followed by each follower's SimStop1 line with Trigger pending and Stop price=0. On those versions, close the follower with Flatten or Flatten All and keep Follower Guard's Flatten the follower if it becomes out of sync on.
Starting with Replikanto 1.7.2.0 the change is not copied, and the Log shows Info [1139] instead: each follower keeps its own stop, and its own ATM closes the position there. With followers on another computer, both the leader and the follower computer need 1.7.2.0 or later.
Cause fixed in Replikanto 1.7.3.0
With ATM Copy, the leader's stop and target changes were not copied to a follower that a new ATM entry left flat
With ATM Copy on, a follower can hold a position opposite to the leader's new trade. When the follower's new ATM entry filled against the position it already held and left it flat, Replikanto released the link between that follower's ATM strategy and the leader's trade (Info [1083]) before the ATM strategy had placed its stop and target. The leader's later stop and target changes then did not reach that follower, so its stop and target stayed where they were placed.
Starting with Replikanto 1.7.3.0, ATM Copy keeps the link while the follower's ATM strategy is still waiting to place its stop and target, so these changes are copied to that follower. On earlier versions, after such a trade, check that follower's stop and target against the leader's and correct them by hand.
Causes that still apply
- You cancelled the take profit by hand on TradingView or Tradovate. In NinjaTrader, cancelling one order of an OCO group cancels the other one too, so the follower's stop is cancelled as well. See Why does cancelling TP in TradingView cancel follower stops? and Differences between TradingView/Tradovate and NinjaTrader OCO exit orders.
- The OCO group is simulated locally. With some connections, NinjaTrader keeps the OCO link on your computer instead of at the broker, so it only works while NinjaTrader is open and connected. See Exit orders when NinjaTrader closes or the broker disconnects
- The follower order had already filled or been cancelled before the leader's change or cancel reached it. A change can only be applied to an order that is still working. See Orders that cannot be canceled.
- Market Only is on for that follower. Only executions are copied, so the follower never receives the leader's stops and targets.
- Stealth Mode or ATM Copy, and Replikanto was closed while the trade was open. With these options, Replikanto needs its link between each leader order and the follower orders to copy later changes and cancels. When the Replikanto window closes with orders still open, Replikanto saves that link, and it reads it back when the same Replikanto window is restored from the same saved NinjaTrader workspace. If you opened a new Replikanto window instead, or the workspace was not saved or reopened, the link is lost: later changes and cancels of those leader orders are not copied. Manage those follower orders by hand until the trade is closed.
- The leader's stop or target was cancelled right after a partial fill. Moving the leader's stop or target to a new price after a partial fill is copied. A cancel within about 3 seconds of a partial fill is treated as NinjaTrader's own bracket housekeeping and is not copied to a follower that does not use ATM Copy, as in earlier versions. Check the follower's stop and target against the leader's and correct them by hand.
- After a scale-in, NinjaTrader itself left the stop smaller than the position. When contracts are added to a position whose bracket target has already partly filled, NinjaTrader recalculates the stop on every event of the target (a new fill, or a change of the target's price or quantity) and can leave it smaller than the position. This happens on the leader and especially on a follower with a Ratio of 2 or more, whose own NinjaTrader makes the same calculation. Example: the leader, with part of its target filled, adds 1 contract and raises its target and stop by 1, and stays covered; a follower with a Ratio of 2, whose target has 10 contracts filled, receives the target change from 60 to 62 and its position goes from 50 to 52, and its NinjaTrader puts the stop at 51, leaving 1 contract without a stop. Replikanto cannot keep a larger stop there, because NinjaTrader resizes it again on the next event of the target, so a correction by hand may not last. Follower Guard does not warn about this: it compares position and direction, not the size of the stop. Check the stop after such a scale-in and correct it by hand, or, if the stop must cover the whole position, cancel the bracket and send a new one sized to the position. Details: Follower stop smaller than position after a scale-in.
- With ATM Copy, the leader's ATM lost its other exits. If a stop or target of the leader's ATM strategy is rejected, NinjaTrader can cancel the ATM's other live exits on the leader, and Replikanto copies that cancel to the follower's matching ATM leg, so the follower can lose a stop or target the leader seems to still need. This is not changed in Replikanto 1.7.1.0. Starting with 1.7.1.0 the Log line shows which leader order was cancelled (see "What to look for in the Log tab"). Check the follower's stop and target against the leader's and place the missing protection by hand.
If the follower's stop or target exists but sits at a different price, or fills at a different price than the leader's, see Why do follower fills differ from the leader's price? For how moves and cancels of the leader's stop and target are copied in general, see Does moving the leader's stop or target update the followers?
Spot a missing stop or target in the Orders tag
Starting with Replikanto 1.7.3.0, the Follower Accounts grid shows an Orders tag inside the Position column (after the average price in the Compact row density, under the position in Comfortable). From 1.7.0.0 to 1.7.2.0 it was a separate Orders column next to Position. It shows what each follower's live orders still have to fill, for example E:2 TP:4 SL:4:
- E = entry, TP = take profit (target), SL = stop loss.
- The numbers are contracts still to be filled, not the number of orders. A group with nothing left is not shown, and the cell is empty when the follower has no live order.
- Exits sent as market orders are not shown.
If the leader has a stop, a follower with an open position whose Orders cell shows TP:2 but no SL has lost its stop. Compare it with the leader's working orders in the Control Center's Orders tab. If the tag is hidden, right-click the grid and choose Columns > Orders (on 1.7.2.0 or earlier, this shows the Orders column).
What to look for in the Log tab
Open the Control Center's Log tab and look at the lines around the time the order was cancelled or changed. Replikanto's messages are in English.
| Log line (start of the message) | What it means |
|---|---|
Not cancelling this follower order: its opposite order in the same OCO group has already filled. |
Expected. The follower's own OCO group will clear this order when the follower's exit fills. |
The leader order was cancelled because the leader's Exit filled, so the matching follower order is left in place. |
Expected, for the same reason. |
Warning [1116] A follower exit left in place 30000 ms ago, after its OCO sibling filled on the leader, is still '...', and NinjaTrader shows this follower flat, so if this order fills it opens a new position. Replikanto does not cancel it: check this follower's orders and cancel it by hand if it should not be there. |
Starting with Replikanto 1.7.1.0. Replikanto writes this warning 30 seconds after it left a follower exit in place because the other order of the same OCO group filled on the leader, if the exit is still live and NinjaTrader shows the follower flat ( Check this follower's orders and cancel the order by hand if it should not be there. With |
Warning [1117] A follower order was left in place 30000 ms ago because its OCO sibling filled on the leader, and it is still '...'; the follower's own OCO may not have cleared it. Verify it manually. |
Starting with Replikanto 1.7.1.0, this wording carries the number 1117 and is used for the cases that need a look. It only logs. Read the end of the line:
|
Info [1118] A follower order left in place 30000 ms ago, after its OCO sibling filled on the leader, is still '...', as expected: ... |
Starting with Replikanto 1.7.1.0. Expected, no action. The line gives one of two reasons. |
A follower order was left in place 30000 ms ago because its OCO sibling filled on the leader, and it is still '...'; the follower's own OCO may not have cleared it. Verify it manually. (without a number: Replikanto 1.7.0.0 and 1.7.0.1) |
This is the older wording, a Warning without a code. Replikanto 1.7.1.0 replaced it with Warning [1116], Warning [1117] and Info [1118] above. It only logged: it did not cancel or change the order. Starting with Replikanto 1.7.0.1 it also appeared for brackets copied without ATM Copy (
On Replikanto 1.7.0.0 the line stops after the follower and tab details, without these fields: check that follower's orders by hand and cancel the order if the position is already closed. |
Not changing this follower order: its opposite order in the same OCO group has already filled. |
A change or cancel of the leader's order arrived right after a fill of the other order in the same bracket and was not copied. Check the follower's stop and target against the leader's. |
Info [1067] Stealth Mode is on and the leader's opposite-side fill could not be linked to this tab's follower brackets... |
Check that follower's stop and target by hand. |
Warning [1071] Could not update the leader-order link after a rename; later Cancel or Change instructions for this leader order may not reach the follower. |
Check that follower's stop and target, and correct them by hand if the leader changes or cancels that order. |
Info [1007] Could not build the follower OCO identifier, so the mirrored order is submitted without an OCO group... |
That follower order is not linked to its sibling. When one exit fills, cancel the other one by hand. |
Cancelling the follower order that mirrors the leader's cancelled order. ... leaderOrder=<id> leg=<name> |
With ATM Copy, Replikanto copies a cancel of a leader order to the matching leg of the follower's ATM strategy. Starting with Replikanto 1.7.1.0 the line also shows leaderOrder= and leg=, which tie the follower's cancel to the leader order that was cancelled. The line only adds detail: it does not change what Replikanto does. If the cancelled leg was a stop or target you needed, check the follower's protection and place it again by hand. |
With ATM Copy, the follower position has no stop or target
With ATM Copy on, Replikanto does not copy the leader's own stop and target: the follower's ATM strategy creates them. If the follower's ATM strategy did not start or did not create them, one of these lines explains it. The Error lines are urgent. Starting with Replikanto 1.7.3.0, a Warning [1079] asks you to check the position now or wait for the [1138] line 30 seconds after the entry; Info [1079] and Info [1114] are the ones that need nothing.
| Log line (start of the message) | What it means |
|---|---|
Error [1079] The follower's ATM strategy never created any bracket order after the mirrored entry filled, so the position it opened was never given a stop or a target. |
The follower's entry filled, but its ATM strategy never placed a stop or target, and nothing else protects that position. Starting with Replikanto 1.7.1.0 this line is written only when the account confirms that no bracket order was ever created. Check the follower now and protect or close the position by hand. Send the log to support. Starting with Replikanto 1.7.2.0, the line also carries stopCoverage=, and Replikanto checks the same entry again 30 seconds after it was submitted (see [1138] below). Starting with Replikanto 1.7.3.0 this Error text is written when the follower's ATM strategy has already ended 6 seconds after the submit; while it is still running, the line is the Warning [1079] below. On 1.7.2.0 and earlier it was always an Error. |
Warning [1079] The follower's ATM strategy has not placed a stop or a target for the mirrored entry 6 s after it was submitted, though the entry has filled; NinjaTrader sometimes arms an ATM strategy late, so Replikanto checks this entry again 30 s after it was submitted ([1138]) and writes an Error there unless it finds the position protected or closed. |
Starting with Replikanto 1.7.3.0. The follower's entry filled and its ATM strategy, still running 6 seconds after the submit, has not placed a stop or target yet. NinjaTrader sometimes arms the stop and target late. Check the follower's Orders tab and position now, or wait for the [1138] line 30 seconds after the submit: if the position is still unprotected, that line is an Error. |
Info [1137] The follower's ATM strategy holds no bracket order for the mirrored entry and had already ended, but a stop order created after the entry is working on this instrument and covers the whole open position, so the position is protected. |
Starting with Replikanto 1.7.2.0. No action: the position is protected. It usually means the trade ended within seconds (target, stop or Flatten) and the next trade's ATM placed its own stop. On Replikanto 1.7.1.0 this same situation was wrongly written as Error [1079]. |
[1138] Second check of the follower's ATM entry reported by Error [1079], 30 s after it was submitted: ... |
Starting with Replikanto 1.7.2.0. recheck='never' is an Error: still no stop or target, so protect or close the position by hand. recheck='createdAfter' is a Warning: a stop or target appeared after the first check but the follower's ATM does not hold it, so check that the position is protected. late (the ATM placed its bracket late), flat (the follower is flat), covered (working stops cover the position) and unknown are Information. Starting with Replikanto 1.7.3.0 the first line can also be a Warning [1079] (this line still says "reported by Error [1079]"). After a Warning [1079], createdAfter and unknown are Errors too, besides never and lateUncovered: check that the position is protected, protect or close it by hand if not, and send the log to support. After an Error [1079], createdAfter stays a Warning and unknown an Information, as on 1.7.2.0. |
Error [1113] The follower's ATM strategy created its stop/target orders for the mirrored entry, but they were rejected, cancelled or filled and no stop or target is working on this instrument now, so the follower may hold a position with no protection... |
Starting with Replikanto 1.7.1.0. The stop and target were created, but they were rejected, cancelled or filled, and none is working now. NinjaTrader ends an ATM strategy once all its orders are closed, even with the position still open. bracketHistory= says how they ended (rejected, cancelled or filled). Starting with Replikanto 1.7.3.0, the end of the line also says why a stop or target was rejected: stopReject= and targetReject= (for example price), stopSide= (wrongSide when the stop was on the wrong side of the market, such as a sell stop above the bid) and rejectError= (the name of NinjaTrader's error code), for example stopReject='price' stopSide='wrongSide' rejectError='OrderRejected'. The sentence of the line itself did not change. Check the Orders tab: it shows why the bracket was rejected or who cancelled it. Then protect or close the position by hand and send the log to support. On Replikanto 1.7.0.1 and earlier, this same situation was written as Error [1079]. |
Warning [1160] The leader changed an order of its ATM trade, but this follower has no ATM strategy linked to that leader trade while it holds a position, so this change was not copied to it. |
Starting with Replikanto 1.7.3.0. One line is written for each follower and each change. If that follower's position belongs to the leader's trade, check by hand that its stop and target still follow the leader's, and correct them if not. If the position does not belong to that trade, nothing is needed. The line is not written for a follower that is flat, so its absence does not prove that a change reached every follower. |
Info [1079] The follower's ATM strategy has no bracket order left for the mirrored entry, but the follower was already flat when checked, the entry can no longer fill and the ATM strategy had already ended, so no position was left without a stop or a target. |
Starting with Replikanto 1.7.1.0. No action: this usually means the leader closed right after the entry, so there was no position to protect. It is not the same as Error [1079]. |
|
|
Starting with Replikanto 1.7.0.1. Starting the follower's ATM strategy for a copied entry failed. None of these wordings means that nothing was sent: What Replikanto does with the entry depends on the version. Starting with 1.7.1.0 it cancels the entry if NinjaTrader had already sent it and it is still working (for a partly filled entry, only the unfilled part), and it does not close an entry that already filled: Error [1115] follows in that case. The line then ends with Check that follower now in the Control Center's Orders and Positions tabs, whatever On Replikanto 1.7.0.0 the same failure appeared as |
Error [1114] The leader's ATM entry was NOT copied to this follower: ... (Warning and Info on 1.7.3.0) |
Starting with Replikanto 1.7.1.0. The follower's ATM strategy for a mirrored entry could not be started (NinjaTrader returned no ATM strategy, or the leader's ATM strategy to copy had already ended), so this follower stops copying this leader order. Replikanto does not copy a follower's ATM entry without its ATM strategy and does not fall back to a plain copy; the other followers are not affected. On Replikanto 1.7.0.1 and earlier, the case where NinjaTrader returned no ATM strategy was written as Error [1084] with Starting with Replikanto 1.7.3.0 the line is not always an Error.
|
Error [1115] This follower holds an entry that no ATM strategy registered by Replikanto manages, and Replikanto does not close it for you: ... |
Starting with Replikanto 1.7.1.0. After an Error [1114] or an Error [1112], the follower holds an entry (filled, partly filled, or still working after NinjaTrader refused to cancel it) that no ATM strategy of Replikanto manages, and Replikanto does not close it: no market order, no Flatten. The leader's later ATM exits do not reach this position. NinjaTrader may have attached its own stop and target to it; Replikanto leaves them alone. This is the case in which you manage the position by hand. Open the Orders tab for that follower, look for stop or target orders NinjaTrader attached itself, and if the position has no protection, protect it or close it by hand. If the line says NinjaTrader refused to cancel the entry, cancel that order by hand. Send the log to support. |
What to do
- Update to Replikanto 1.7.0.0 or newer if you run an earlier version.
- If a follower position is open without a stop or target, place the protection again by hand on that follower account. This is also what you do after Error [1115], Error [1113] or Error [1079]: Replikanto does not close or protect that position for you. If the follower has an extra stop or target the leader no longer has, cancel it by hand.
- Check the Orders tag in the Position column and the Log tab lines above to see what happened.
- If you still cannot explain it, send your NinjaTrader log and trace files for that day to support, with the time of the trade and the follower account involved.
Comments
0 comments
Article is closed for comments.