NexusFi: Find Your Edge


Home Menu

 





2+ instances of Ninjatrader


Discussion in NinjaTrader

Updated
    1. trending_up 2,030 views
    2. thumb_up 20 thanks given
    3. group 10 followers
    1. forum 15 posts
    2. attach_file 7 attachments




 
Search this Thread

2+ instances of Ninjatrader

  #1 (permalink)
 Conceptzx   is a Vendor
 
Posts: 111 since May 2022
Thanks Given: 25
Thanks Received: 74

For those interested, normally, you cannot install 2 or more instances of Rithmic R|Trader Pro and Ninjatrader on the same machine. I was able to find a workaround to install 2 instances of NT8 on the same machine. Each instance has its own NT login and key for its respective account.

I trade accounts with Apex and Leeloo and previously because I travel a lot, had to have them on separate VPS's in the past linked through a local network, but I was able to set up a second instance using Sandboxie. I was able to also include a second Rithmic R|Trader Pro instance as well in the same sandbox. It sped up my Replikanto trade copier being on a local machine local as well.

https://sandboxie-plus.com/

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
75 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
36 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
16 thanks
  #2 (permalink)
JBarlow
Nashville, TN
 
Posts: 7 since Jun 2023
Thanks Given: 8
Thanks Received: 1

Hello! I appreciate you posting this information. I am in the process of trying to set something like this up myself to use with Replikanto. Are you using a trade copier, or just simply running two instances of Ninjatrader 8? I am new to trade copiers and all this stuff, and I am trying to figure out how best to set it up so that Replikanto works.

I appreciate your time! Thank you!

Reply With Quote
  #3 (permalink)
 Conceptzx   is a Vendor
 
Posts: 111 since May 2022
Thanks Given: 25
Thanks Received: 74


I use Replikanto and assign the IP it gives me on the sandboxed (slave) version on NT8. One time it displayed a local address eg.169.254.253.57 but now it seems to be using the server's IP address. I included both in the Node IP list so if it changes, it will always connect. Its been working flawlessly.

*note: The IP may have changed because after I paid for a license on Sandboxie thinking a different level of sandbox security might work better, but so far the default version has proven to be the best option. Maybe in the experimentation process, I changed things and it caused the different IP addresses to be used. You should be able to use it in the free configuration just fine. It needs at least the deafault level of isolation for NT8 to not recognize the original instance. Your second NT8 instance will need a separate NT8 account login.

You'll need to copy your installation of NT8 and Rithmic from the appropriate Program Files folders to the "C:\Program Files\Sandboxie-Plus\<sandbox name here>\ " directory and purchase a second license for the second instance of Replikanto. They have instructions on how to create a unique NT8 3rd party installation machine id to register on their website.




If you have any questions on setup, let me know and I'll try to walk you through the settings I use.

Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
JBarlow
Nashville, TN
 
Posts: 7 since Jun 2023
Thanks Given: 8
Thanks Received: 1

I greatly appreciate you taking the time to send such an in-depth response! I will be working on this either tonight or over the weekend, and will let you know if I need any assistance. Again, thank you!

Reply With Quote
Thanked by:
  #5 (permalink)
 Conceptzx   is a Vendor
 
Posts: 111 since May 2022
Thanks Given: 25
Thanks Received: 74

In NT8 its the normal login (Apex doesn't allow plugins)

I've uploaded a sandbox template file with an NT8 instance on it to my google drive (link below) you should be up and running by just import it to sandboxie, run it, and add your account information. Make sure Windows Defender or any firewall software allows traffic to and from Sandboxie.In NT8 its the normal login (Apex doesn't allow plugins)


Sandbox file name: SB.7z
https://drive.google.com/drive/folders/13XakILOBDIYngn5h4Ff1cBLbOdo5w47H?usp=sharing

Started this thread Reply With Quote
Thanked by:
  #6 (permalink)
JBarlow
Nashville, TN
 
Posts: 7 since Jun 2023
Thanks Given: 8
Thanks Received: 1

I appreciate you doing this, and will give it a try shortly. Truthfully, I have been struggling to get this up and running for some reason, although I have not had as much time to spend on it as thought. I will work on it now. Thank you!

Reply With Quote
  #7 (permalink)
 Conceptzx   is a Vendor
 
Posts: 111 since May 2022
Thanks Given: 25
Thanks Received: 74

In my case, I copied the original NT8 folder in program files and pasted it next to the original, then named the new folder 'NinjaTrader8 - Slave0'.

You will have to right click on your sandbox in Sandboxie and select run program. Find the NinjaTradet8 application in the new folder intended for the sandbox and run it. Should work as normal.

Attached Thumbnails
Click image for larger version

Name:	Sandboxie.jpg
Views:	59
Size:	131.1 KB
ID:	333014  
Started this thread Reply With Quote
Thanked by:
  #8 (permalink)
JBarlow
Nashville, TN
 
Posts: 7 since Jun 2023
Thanks Given: 8
Thanks Received: 1

So, I am finally getting around to getting this set up (delayed by some family stuff and other things). I have gotten it to the point where I can get two instances of Ninjatrader pulled up and logged in. Where I am having difficulty now is both instances are generating the same machine ID to use with Replikanto. Don't I need two different machine ID's for this to work?

Reply With Quote
  #9 (permalink)
 Conceptzx   is a Vendor
 
Posts: 111 since May 2022
Thanks Given: 25
Thanks Received: 74

See the faq for Replikanto, you'll have to generate a second machine ID and register it.


JBarlow View Post
So, I am finally getting around to getting this set up (delayed by some family stuff and other things). I have gotten it to the point where I can get two instances of Ninjatrader pulled up and logged in. Where I am having difficulty now is both instances are generating the same machine ID to use with Replikanto. Don't I need two different machine ID's for this to work?


Started this thread Reply With Quote
Thanked by:
  #10 (permalink)
traderap101
London UK
 
Posts: 18 since Jul 2022
Thanks Given: 3
Thanks Received: 16


I have managed to get FlowBots Replikanto working by doing the following:

1. First install Replikanto on the primary NT8 and follow the guidelines to setup the licence (Control Center-->Help-->3rd Party Licensing) with Vendor Name "FlowBots" and User Defined ID of anything you want to call it

2. Then run Sandboxie on the primary NT8 ("C:\Program Files\NinjaTrader 8\bin\NinjaTrader.exe") so that it copies the Replikanto add-on files as well as Replikanto licence information into the Sandboxie

3. On the Sandboxie NT8 Control Center, go to New-->FlowBots-->Replikanto

4. Right Click on the Replikanto window and choose the Properties menu

5. Change the Network Replikanto Port number to a different value e.g. 4548 (This is the port
number the Sandboxie NT8/Replikanto will listen on and should be different to the primary NT8/Replikanto port number) and then press OK

6. Check the box which says "Check to turn it on" on the Replikanto Window

7. Select the Instruments & Follower Accounts on the Sandboxie NT8

That should then be it. When you now place an order on the Primary NT8, then it should replicate to Sandboxie NT8 based on how you have configured the follower accounts and instruments.

Also, I have chosen to configure my Sandboxie (Sandboxie Options) to remove the quick recovery folders and uncheck "Enable Immediate Recovery" so that any changes on the Sandboxie NT8 are not copied back into the primary. This allows me to keep the primary as the master version.

Attached Thumbnails
Click image for larger version

Name:	Untitled 0.jpeg
Views:	35
Size:	24.7 KB
ID:	333324   Click image for larger version

Name:	Untitled 1.jpeg
Views:	40
Size:	41.2 KB
ID:	333325   Click image for larger version

Name:	Untitled 2.jpeg
Views:	40
Size:	75.1 KB
ID:	333326  
Reply With Quote
Thanked by:




Last Updated on July 18, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts