To reverse the direction of an order in the follower account, you can use the Ratio copy method with a negative ratio value.
Important: Ratio is not set in follower Properties: it is the Ratio column of the Follower Accounts grid, and you edit it in that follower's row. The Ratio column is only visible when the copy Method is set to Ratio in the main Replikanto window. If the Method is set to Exact Quantity or another mode, the Ratio column does not appear. To switch methods, use the Method dropdown on the left side of the Replikanto window. Starting with Replikanto 1.7.0.0, the Ratio cannot be edited while that follower is in a trade (open position or working order): see Why Can't I Change Follower Settings During a Trade?
Here's how it works:
A ratio of -1 hedges the leader 1:1. 1 = the leader Sim101 buys 1 contract (Long 1); 2 = Sim102's ratio is -1.00; 3 = Replikanto sells 1 contract on Sim102 (Side Short, Position 1); 4 = the follower's chart shows the opposite position.
- The Ratio copy method allows you to define a ratio for each follower account, ranging from -100 to 100.
- A positive ratio will copy the order in the same direction as the leader, and increase or decrease the contract quantity.
- A negative ratio will reverse the direction of the order. For example, a buy order on the leader account becomes a sell order on the follower account.
- For instance, if you set a ratio of -1, the follower will hedge the leader's positions 1:1. So, a buy order on the leader account would result in a sell order on the follower account.
-
1 = the copy Method is set to Ratio (the Ratio column only appears with this method); 2 = Sim102 has a ratio of -1.00, so it trades 1:1 in the opposite direction of the leader.
- It is recommended to use the Ratio copy method in conjunction with the ATM Copy feature when placing trades inside the NinjaTrader PC software. To check the follower quantity Replikanto calculates for a given ratio, you can use this spreadsheet.
- Using a ratio value of -1, the follower will hedge 1:1 the leader's positions.
- It's worth noting that when using the Replikanto's Cross Order feature, where the order is copied to the followers on a different instrument, it can increase the chances of the order not being filled on one side. This is because the two instruments may not move exactly in sync, especially during high volatility. For example, a stop order placed at a specific price on the leader may be filled on the follower, where the price reached that level, but not on the leader, where the price only approached that level.
- When using the hedge feature with a ratio of -1, order rejections can occur if the order submitted to the leader account is close to the bid/ask price, as the reversed order for the followers might end up on the wrong side of the market. Using market orders to open positions and setting stop-loss and take-profit orders a little farther from the bid/ask price may help to minimize such issues. The ATM copy feature is also recommended in such setups.
Properties > General. With a negative ratio, a leader limit order is sent to the follower as a stop order at the same price, and a leader stop order as a limit order. 1 = the stop type used for a leader limit order: Stop Market (default) or Stop Limit; 2 = with Stop Limit, how many ticks the limit price is placed beyond the stop price.
Comments
0 comments
Article is closed for comments.