Yes, Replikanto can be used with an automated strategy in NinjaTrader.
Here are some key points to consider when using Replikanto with an automated strategy:
- The automated strategy will always run on one account. This account must be used as the leader account in a Replikanto window or tab.
- The same instrument must be selected in both the automated strategy and the Replikanto window or tab.
- If your strategy trades multiple instruments, a new Replikanto window or tab must be opened for each of them.
-
When closing a position, always use the name ‘Close’ for the name of the order. You can use the constant
NinjaTrader.Resource.GuiPositionClose
. This lets Replikanto know that the order is a position close order regardless of the number of contracts, so it will close the followers correctly. - Always use OCO orders to define position exit orders even if the strategy is responsible for managing exit orders. This way Replikanto will be able to tell whether it's time to close an exit order on the follower or not.
- Any account can be used as a leader in Replikanto, whether it's a Sim, Live, or Funded account. However, it is recommended to use a leader account of the same type as the follower accounts to mitigate moments when they can get out of sync.
The Market Only feature could be useful when using an automated strategy when your followers become `out of sync` more frequently, specially with scalper strategy.
By following these best practices, you can effectively use Replikanto with your automated strategies in NinjaTrader.
Comments
0 comments
Article is closed for comments.