This article explains why a follower account's position can end up on the opposite side from the leader (e.g., leader Long, follower Short) and how to prevent it using Replikanto's built-in features.
Understanding the problem
An inverted position occurs when the market fills the leader's entry limit order but does not fill the follower accounts' entry orders (which are copied from the leader). This timing mismatch means the leader's exit orders get submitted and may fill before the follower's entry order ever fills. The result: the follower ends up with a position on the wrong side.
This typically happens in fast-moving markets where limit orders fill at different times across accounts.
Solution options
Replikanto provides two features to prevent opposite-direction positions:
ATM Copy
Uses NinjaTrader's ATM strategy to manage the follower's exit orders instead of copying them from the leader account. The follower's exit orders are controlled by its own ATM logic, keeping entry and exit properly synchronized.
Best when: You're using an ATM strategy in the leader account's trades within NinjaTrader Desktop.
Follower Guard
A protective feature that watches the follower accounts and flattens a follower whose position no longer matches the leader's. Two of its options cover this problem, and both are off by default:
- Flatten the follower if its position is in the opposite direction: closes the follower's position after X seconds (5 by default) while the leader holds a position on the other side, for example leader Long and follower Short. It does not act when the leader is already flat.
- Flatten the follower if it becomes out of sync: closes the follower's position after X seconds (10 by default) when it no longer matches the leader. This is the option that covers the case described above: the leader's exits have filled and the leader is flat, while the follower still holds a position.
Enable both to cover a follower left on the wrong side whether or not the leader is still in the trade.
Best when: You want a safety net that catches and corrects inverted positions regardless of your strategy setup.
Learn more about Follower Guard →
Choosing the right solution
- Use ATM Copy if you rely on ATM strategies and want exit orders managed locally on each follower.
- Use Follower Guard if you want automatic protection that closes inverted positions as a fail-safe.
- Use both together for layered protection in critical trading scenarios.
If the problem persists
If you continue to experience inverted positions after enabling one or both features:
- Verify that the feature is properly enabled in your Replikanto configuration.
- Check that the leader and follower accounts have adequate liquidity and similar fill conditions.
- Review your order types and timing — market orders reduce the risk of entry timing mismatches compared to limit orders.
Comments
0 comments
Article is closed for comments.