Posted on

Remote Leader Filter: copy only the leader you choose

When more than one leader sends trades to the same follower computer, Remote Leader Filter lets each Replikanto tab accept trades only from the leader you choose. You can send each leader, or each leader account, to its own follower accounts, even when they all trade the same instrument.

  • Two filters: Leader Replikanto ID picks the computer that sends the trades, and Leader Account Name picks the leader account on that computer. Use one or both.
  • One filter per tab: a node tab accepts trades only from the one leader Replikanto ID and/or leader account name you enter, and copies them to that tab’s followers.
  • Local network and internet: it works in Network Node Mode (Local Network) and in Remote Node Mode (Internet).
  • Visible on the tab: the active filter is shown on the tab under Remote Leader Filter(s):, so you can see at a glance which leader each tab follows.

How it works

A follower computer receives trades from other computers when a Replikanto tab on it is in Network Node Mode (Local Network) or Remote Node Mode (Internet). Without a filter, that tab copies the trades of every leader that sends to this computer on the tab’s instrument. With a filter, the tab copies a trade only when it comes from the leader Replikanto ID and/or leader account name you entered. The tab ignores the other trades, and another tab on the same computer can still copy them.

Replikanto right-click menu open on a node tab, with the Network Node Mode (Local Network) and Remote Node Mode (Internet) items framed in red
The filter applies to tabs in one of these two modes

A field you leave empty accepts any leader. When you fill in both fields, a trade must match both. The comparison ignores upper and lower case, and the account name can be the leader account’s name or its display name as NinjaTrader shows it on the leader computer.

The examples below use Remote Node Mode (Internet). Network Node Mode (Local Network) works the same way.

Two leader computers on the same instrument

Two leader computers send ES trades to your computer. Their Replikanto IDs are @REP-LEAD-0001 and @REP-LEAD-0002 (example IDs). You want the first leader copied to Sim102 and the second to Sim103. Set Leader Replikanto ID to @REP-LEAD-0001 in the first tab, with Sim102 on:

Replikanto tab in Remote Node Mode on ES showing Remote Leader Filter(s): Replikanto ID @REP-LEAD-0001, Account Any, with follower Sim102 on
First tab: only trades from @REP-LEAD-0001 are copied, to Sim102

Then add a second tab on ES in the same mode, set Leader Replikanto ID to @REP-LEAD-0002 and turn on Sim103:

Second Replikanto tab on ES showing Remote Leader Filter(s): Replikanto ID @REP-LEAD-0002, Account Any, with follower Sim103 on
Second tab: only trades from @REP-LEAD-0002 are copied, to Sim103

Both leaders trade ES, and each one’s trades reach only its own follower account.

Two leader accounts on one leader computer

One leader computer sends ES trades from two accounts, SimLeaderA and SimLeaderB, for example two strategies on the same instrument. Both trades come from the same Replikanto ID, so filter by account instead: set Leader Account Name to SimLeaderA in one tab and to SimLeaderB in another, each with its own followers.

Replikanto tab on ES showing Remote Leader Filter(s): Replikanto ID Any, Account SimLeaderA, with follower Sim102 on
Trades from the leader account SimLeaderA go to Sim102
Replikanto tab on ES showing Remote Leader Filter(s): Replikanto ID Any, Account SimLeaderB, with follower Sim103 on
Trades from the leader account SimLeaderB go to Sim103

Both filters together

When several leader computers use the same account names, fill in both fields: the tab then copies only the trades of that account on that computer.

How to set it up

  1. On the leader computer, right-click the Replikanto window and select My Replikanto ID. Replikanto copies the leader’s ID to the clipboard and writes it in the NinjaTrader Log tab. If you want to filter by account, note the leader account’s name too.
  2. On the follower computer, open a Replikanto tab, right-click it and select Network Node Mode (Local Network) or Remote Node Mode (Internet), then tick Check to turn it on. Select the instrument and turn on the follower accounts for this leader.
  3. Right-click the tab and select Properties. Open the Remote Leader Filter group.
  4. Enter the leader’s ID in Leader Replikanto ID, the leader account in Leader Account Name, or both, and click OK.
  5. Check the tab: under Remote Leader Filter(s): it shows Replikanto ID: and Account:, with Any for a field you left empty.
  6. For each additional leader, add a tab with the + button and repeat steps 2 to 5 with that leader’s filter and followers.
  7. Save the NinjaTrader workspace, so each tab keeps its filter the next time you start NinjaTrader.
Replikanto Properties window with the Remote Leader Filter group open, showing the empty Leader Replikanto ID and Leader Account Name fields
The Remote Leader Filter group in Properties
Replikanto Properties window with the Remote Leader Filter group open and Leader Replikanto ID set to the example ID @REP-LEAD-0001
Leader Replikanto ID set to the example ID @REP-LEAD-0001

Good to know

  • The filter is used only in Network Node Mode (Local Network) and Remote Node Mode (Internet). On a leader tab, with neither mode selected, it has no effect and the tab does not show it.
  • Each tab takes one Leader Replikanto ID and one Leader Account Name. To follow several leaders separately, use one tab per leader. To copy every leader that sends to this computer, leave both fields empty.
  • The filter comes on top of the instrument: a tab copies only trades on its own instrument, from the leader you chose.
  • When a tab ignores a trade because of its filter, the NinjaTrader Log tab (Control Center > Log) records a line that includes “Ignored a trade: it came from a different leader”. If trades you expect are not copied, check the ID or account name in Properties for a typo.
  • The filter works on the receiving computer. The leader still sends to every node turned on in its node list, so over the internet it uses Submit credits for each remote computer it sends to, even when that computer’s filter ignores the trade. Turn on, in a leader’s node list, only the computers that should receive its trades.
  • Leader Replikanto ID can only match when the leader’s Replikanto has its ID, which it gets from the Replikanto server when it starts. On a local network, check that My Replikanto ID shows an ID on the leader; a trade that arrives without one is not filtered by ID.

Related

Questions? Browse the Replikanto Knowledge Center or contact us. New to Replikanto? Try it free for 7 days.