View Full Version : Dual Connectivity through IB API
whitmark
02-22-2006, 09:00 AM
Is it possible to have NinjaTrader and a trading platform (e.g., NeoTicker) that uses the API also to be concurrently connected to IB?
I would like to consider using NeoTicker to submit orders directlyvia the IB interface but then use NinjaTrader to monitor trades rather than using TWS. Is this possible, and if so, how can I set it up? I should add, once I try to connect Ninja Trader after the NeoTicker interface is connected, I get an IB API error.
Regards,
Whitmark
NinjaTrader_Dierk
02-22-2006, 09:41 AM
Yes, feasible. Just make sure that you run NT with IB client ID = 0 and NeoTicker with a different client ID.
trymph
03-28-2006, 02:43 AM
Similar question.......I'm thinking switching from Esignal to IB to feed data into my Ensign......My NT client=0........same deal that my Ensign can share the IB feed with NT? (I'll have to figure out Ensign's "client equivilant setting)... But its possible??
NinjaTrader_Dierk
03-28-2006, 02:58 AM
Yes, just make sure NT has ClientID=0.
trymph
03-29-2006, 04:22 AM
Total success..........seamless transition from Esignal to IB for my Ensign and NT........thanx for quick responces.........
Regards
Bruce
whitmark
06-01-2006, 08:45 AM
Ninja Support,
I am havingtrouble getting dual connectivity to work with Ninja, Neoticker and IB. Ninja and Neoticker are both accessing the IBAPIvia port 7496 and are assigned client IDs of 0 and 1 respectively. Please see attached error message.
Has anyone gotten this to work? I am testing on an IB Paper Trading account.
When I get this to work, I assume I will be able to see trades on the Ninja DOM that were placed on IB by the NeoTicker Order Servervia the API. Is this true?
Regards,
Whitmark
NinjaTrader_Ray
06-01-2006, 11:28 AM
This means that IB TWS is aborting a connection. NT will display any orders in TWS regardless of how they got there.
whitmark
06-01-2006, 02:56 PM
No doubt, this is an IB error. Perhaps this is more of an IB support question but it represents an alternative method to usingNinja Trader. I am looking for confirmation that this type ofconnection is feasibleand whetherNinja Supportor other users havefirst hand knowledge of it working. Many thanks.
Regards,
Whitmark
TraderTony
06-19-2006, 09:03 PM
I am trying to set up my NT with a new second IB account. I can access either account independently but as soon as I try to log onto the second once the first is connected I get the same error box as the image below from Whitmark.
Is it possible to connect and trade 2 IB accounts from NT at the same time?
If so, what might I be doing wrong to get this error?
FWIW I have had this error before when NT crashes and I try to reopen it and log on without first closing TWS.
Many thanks,
Tony
Byron
06-20-2006, 01:48 AM
Hi Tony,
Thank you for your note.
You can connect to multiple TWS instances by creating separate account connections in the NinjaTrader Account Set Up window.Set different port numbers for each account connection.
Below is an example of setting NinjaTrader up with two separate TWS accounts:
TWS Instance One - Configure-->API-->Socket Port = 7496
TWS Instance Two - Configure-->API-->Socket Port = 4000
When setting up an account connection in NinjaTrader for each instance, ensure that the correct port numbers are reflected.
TraderTony
06-21-2006, 12:07 AM
Byron wrote: Hi Tony,
Thank you for your note.
You can connect to multiple TWS instances by creating separate account connections in the NinjaTrader Account Set Up window.Set different port numbers for each account connection.
Below is an example of setting NinjaTrader up with two separate TWS accounts:
TWS Instance One - Configure-->API-->Socket Port = 7496
TWS Instance Two - Configure-->API-->Socket Port = 4000
When setting up an account connection in NinjaTrader for each instance, ensure that the correct port numbers are reflected.
Thanks Byron - I have done this but now get the attached error message...
TraderTony
06-24-2006, 06:50 AM
Just wondered if you have any suggestions on this Byron? Can I run 2 versions of my NT on 2 pcs and therefore access each account separately?
Byron
06-26-2006, 03:17 AM
Yes, you can simultaneously log into TWS on two separate machines provided that you are the only one usingthe application.
TapeReader
06-28-2006, 07:23 AM
Can anyone confirm that it is possible to simultaneously use the IB data feed to run both NinjaTrader & NeoTicker?
NinjaTrader_Vincent
06-28-2006, 10:14 AM
Hi,
It is possible to do this with IB feed.
Vince
goodie
07-03-2006, 01:24 PM
Trymph, how do you keep the old historical data in Ensign, when changing datafeeds from eSignal to IB? For example, emini Russell in eSignal is AB #F and the same in IB is ER2U6? Also, is there any backfill available for tick charts when on IB feed? What do you do every day when TWS is shutdown for maintenance - endup with gaps?
trymph
07-05-2006, 01:03 AM
I'm not exactly sure but I think it rebuilds them from the historical backup arrangement with some price service beyond IB's short term database when you click on IB data feed itwas just there for me: dont really know the mechanics. Probabably if the symbol is different it will rebuild from scratch. You could ask in the Nqqqq's newsgroup on Yahoo and someone would probably know. Or ask in the chat room of Buffy's.
John858
07-21-2006, 02:06 AM
Please excuse the redundant request if this has been answered already - it looked like Whitmark asked whether it was possible to connect two 3rd party apps (Ninja and another app) to tws simultaneously.
Is there a setting configuration that anyone's familiar with in TWS that supports this?
Thanks in advance,
John
NinjaTrader_Dierk
07-21-2006, 06:56 PM
Yes you can. NT goes by ClientID=0. You need to configure your other app to use a different ClientID (e.g. 1).