Ninja Trader Integration with TWS - FAQs

 

Q: Is Ninja Trader Compatible with the Trader Workstation (TWS)?
A: Yes. The TWS Application Program Interface (API) accommodates connection to a variety of third-party vendors, including Ninja Trader, who offer complementary order entry, charting, back-testing and analytics software programs designed to expand the functionality of TWS. Please refer to the following Ninja Trader website link for details: http://www.ninjatrader.com/ConnectionGuides/Interactive-Brokers-Connection-Guide
 
 
Q: Can Ninja Trader be tested with the TWS platform demo which IB makes available to prospective clients via the website?
A: Yes, but only on a limited basis as the platform demo is solely intended to demonstrate the functionality of the TWS and its API. As background, the TWS demo simulates a “live” stream of simulated market data using previous week's ticks and does not offer the historical data necessary to populate Ninja Trader charts requiring a combination of streaming and historical data.  Once your live IB account is approved and funded a paper trading account may be requested, the market data subscriptions to which will accommodate full testing of the Ninja Trader application.
 
 
Q: Is Ninja Trader compatible with all versions of TWS?
A: No. There is an inherent lag between the time IB releases a TWS update and that at which any third-party vendor can reasonably respond with a corresponding software upgrade. In the case of Ninja Trader, its application is compatible solely with the standalone TWS platform (not the browser based) and to determine the particular version currently supported, please refer to the following Ninja Trader website link: http://www.ninjatrader.com/ConnectionGuides/Interactive-Brokers-Connection-Guide 
 
 
Q: Can the free delayed market data feed from IB be used with Ninja Trader?
A: No. Delayed market data is not relayed through the IB API and account holders seeking to use IB as a data source must subscribe to a real-time data feed through Account Management.
 
 
Q: Is there any distinction between the rate at which Ninja Trader seeks to load chart data and that which the IB market data feed supports?
A: As queries which request the same historical data within a short period of time may result in excessive back end server load, IB imposes pacing restrictions which, if violated, will generate error codes. In certain circumstances, the pacing of data requests through IB may delay the loading of the data through Ninja Trader, particularly when multiple charts and or symbols are loaded simultaneously. For details regarding the limitations IB imposes with respect to historical data queries, please refer to the following IB API guide link: http://www.interactivebrokers.com/en/software/api/apiguide/api/historical_data_limitations.htm
 
 
Q: Does IB support the market data required to populate Ninja Trader Range Bar charts?
A: Range Bar charts generally depict the movement of price for a particular instrument over a defined time period (e.g. month, day, 5-minute, 3-minute, etc.) or tick increment. As these types of charts are built from tick data and IB does not support unfiltered tick-by-tick data on a real-time or historical basis, Ninja Trade Bar charts require an alternate data source to eliminate data gaps.
Please refer to the following Ninja Trader website link for a list of supported connectivity providers as well as the historical and real-time data provided by each: http://www.ninjatrader.com/support/helpGuides/nt7/index.html?historical_data.htm
 
 
Q: It is possible to use different data source vendor between TWS and Ninja Trader interface?
A: Yes. It should be noted that Ninja Trader does not operate as a vendor of market data and use of this application requires provision of data by a third-party connectivity provider. While IB can serve as this provider for real time prices, these prices are not provided on an unfiltered tick-by-tick basis, a prerequisite for fully populating Ninja Trader charts.  A common setup therefore, is to use Ninja Trader as a front-end order entry platform, routing orders to the TWS for execution and clearing by IB and bridge to a third-party vendor for market data.
  
 
Q: Is Ninja Trader compatible with IB’s paper trading (simulation) account?
A: Yes Ninja Trader connects to the paper trading account in the same manner as to the live account. To familiarize oneself with the configuration and operation of these applications, IB strongly recommends conducting test trades through the paper trading account prior to submitting orders through the live account.
 
 
Q: How can orders submitted through Ninja Trader for execution through TWS monitored with TWS?
A: The TWS contains a page denoted by a tab marked “API” within the main window through which open orders submitted via Ninja Trader or any third party software application may be monitored. 
  
 
Q:  Is Ninja Trader compatible with IB’s Financial Advisor and Friends & Family account type?
A:  Yes, although not with the full order allocation functionality provided directly through the TWS. While Ninja Trader can be used to submit orders for a client sub-account through the Advisor master account, it does not allow for a single order to be allocated to more than one sub-account. This is in contrast to the TWS user interface which provides for multi-client trade allocations from a single order (through the Account Group or Allocation Profile options).
 
 
Q: How does one determine the cause of orders which have been submitted via Ninja Trader and subsequently canceled or rejected?
A: An order which has been canceled or rejected will be accompanied by an error message generated by Ninja Trader and/or TWS depending upon the source of the action. Order cancellations/rejections may be attributable to a variety of factors including IB credit policies, exchange restrictions or an invalid user request. In situations where the error message is not self explanatory, the user will need to contact the technical support teams of IB and Ninja Trader to diagnose and troubleshoot the problem.