NexusFi: Find Your Edge


Home Menu

 





Using IB Data feed in two Ninja Trader 7 running simultaneously with virtual machine


Discussion in Tech Support

Updated
      Top Posters
    1. looks_one Rui S with 3 posts (0 thanks)
    2. looks_two omaha786 with 2 posts (3 thanks)
    3. looks_3 sam028 with 1 posts (1 thanks)
    4. looks_4 shawn4069 with 1 posts (1 thanks)
    1. trending_up 2,855 views
    2. thumb_up 5 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Using IB Data feed in two Ninja Trader 7 running simultaneously with virtual machine

  #1 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55

Hello everyone,

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.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158


Rui S View Post
Hello everyone,

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.

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.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55



omaha786 View Post
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.


@omaha786

Thanks for your reply and advice.

I will then try to create the virtual machine and follow your instructions.

Rui

Started this thread Reply With Quote
  #4 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55

@omaha786,

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.

Thanks in advance.

Rui

Started this thread Reply With Quote
  #5 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629

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.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
Thanked by:
  #6 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158


Rui S View Post
@omaha786,

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.

Thanks in advance.

Rui

Sorry, I don't have much experience with virtual machines other than the windows XP mode in Windows 7 Pro.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
shawn4069
Canada
 
Posts: 8 since Oct 2012
Thanks Given: 2
Thanks Received: 1

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

Reply With Quote
Thanked by:
  #8 (permalink)
 smalltrader35 
Europe
 
Experience: Advanced
Platform: Multicharts
Broker: Mirus
Posts: 43 since May 2010
Thanks Given: 2
Thanks Received: 12


Rui S View Post
@omaha786,

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.

Thanks in advance.

Rui

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?

Reply With Quote




Last Updated on April 13, 2013


© 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