Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Using IB Data feed in two Ninja Trader 7 running simultaneously with virtual machine
I know I can use one single IB data feed with two or more different applications running simultaneously (for example NT 7 + Bracket Trader). However, I would like to use two NT 7 simultaneously instead. In order to do that I will have to use a virtual machine, but I have some doubts.
Could someone please tell me if it is possible to use this single IB data feed for two NT 7 running at the same time in the same computer, using a virtual machine like VMware or VirtualBox? And if so, how can I do it?
Thanks.
Can you help answer these questions from other members on NexusFi?
Yes, It's possible. I just tried Windows 7 Pro as host machine and Windows XP mode as guest machine. the IB TWS is on the host. When you configure the NT connection on the host, you can use 127.0.0.1 as IP address since the TWS is on the host. When you configure the NT connection on the guest, you need put in the host machine IP address and choose a different client ID.
I'm sorry to bother you again but I have some more questions before starting on this task, if you don't mind to answer:
I currently have a five monitors setup working with my computer, with a single windows 7 OS. My idea would be to install the mentioned virtual machine with another windows 7 OS and have the two systems (host and guest) running at the same time, one using two monitors and the other three monitors.
Question:
Is this possible? And if so, can I use the same mouse across all monitors as if it was just a single system?
Just as an explanation, I am thinking to do this because NT is suffering from serious latency when the market is fast (particularly the DOM). I have made some testing and the latency is due to the number of charts and indicators I have in my workspace, but I really need them for my trading strategies. The problem is that NT works on single CPU thread and it goes to the maximum when the market is fast.
Thus, my idea would be to "split the load" in two different NT instances (allowing NT to take advantage from the multicore CPU), keeping just the DOM and two main charts in the host (two monitors), in order to avoid execution latency. The second NT instance and all the other charts would be displayed through the virtual machine (the other three monitors).
Question:
Do you think it would work out well?
I would much appreciate your comment and opinion on all this.
Hmm, how is your cpu load when NT seems to be slowing down ?
I'm not sure your idea will work, the virtualization will eat some resources, and your tcp/ip stack may have some issues if it's flooded by ticks.
Your mouse will be able to go from the VM windows to your host windows, with VirtualBox.
You will also need to have two data feed connection (some providers allow two connections, not all), and also two NY license key (or 1 with a demo key, the other with a live key).
Anyway, it's not that long/difficult to try, and a real test will show if it can be a good solution or not.
Not sure if you know this but IB is horrible for futures data, since they don't use true tick data. You will notice the difference if you compare the charts side by side with a provider that provides true tick data
I used vmware to split the NT load aswell but what I have found is that some days the NT Dome on the host is updating faster than the NT Dome on the guest (Virtual Machine). This to be expected since its physical vs virtual but what I can't understand and maybe Mike or Sam can shed some light on this, why is the NT Dome on the guest (Virtual Machine) updating faster than the NT Dome on the host (Physical Machine) Surely the normal is the other way round? The lag should be visable on the virtual machine?