PDA

View Full Version : How to connect to Interactive Brokers


NinjaTrader_Ray
02-20-2005, 02:19 PM
Connecting

The connection information is the same for subscribers or users of the free unlimted simulation version (Light Edition).



If using the Light Edition you must first perform the following step -

From within NinjaTrader, select the menu Help-->Set License and enter MODE1

All users must review the following-

You must configure TWS. Within TWS, select the Configure-->API menu and ensure that:

- Socket Port is set to 7496
- Enable ActiveX and Socket Clients is enabled
- Download Open Orders on Connection is enabled
- Fire openOrder on status change is enabled

More information can be found here -

http://www.ninjatrader.com/main_ib_connectivity.htm



Problems Connecting?

- If you have other applications connected to TWS other than NinjaTrader, make sure that the other applications are using a Client ID value other than zero. You may have to contact the developers of the other applications to determine how to change this value

- Try rebooting your PC?

- Make sure the port numbers in TWS and in NinjaTrader (Tools-->Settings Manager, IB Tab) are set to 7496



NinjaTrader Support