I configured the connection to IBKR account with API tool and I have the following issues: API client is green and indicates "1 connected", log tape shows no error masseges (as per my observation). However, the connection ball is yellow and I do not see my account. I did everything as per the instruction. One of my assumptions is because the IB account is new and not funded so far (hence not activated) the connection is incomplete. However, TWS itsef transmits the market data and reflects my account. Can you say anything in this regards?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Interactive brokers connection
Collapse
X
-
Interactive brokers connection
Hi,
I configured the connection to IBKR account with API tool and I have the following issues: API client is green and indicates "1 connected", log tape shows no error masseges (as per my observation). However, the connection ball is yellow and I do not see my account. I did everything as per the instruction. One of my assumptions is because the IB account is new and not funded so far (hence not activated) the connection is incomplete. However, TWS itsef transmits the market data and reflects my account. Can you say anything in this regards?
Tags: None
-
Hello,
Thank you for your post.
I'd like to take a look at your log and trace files for this issue. These files contain diagnostic information related to what is occurring on your platform that will help us resolve this issue in a timely manner.
Please follow the steps below to manually attach your log and trace files to an email to platformsupport[AT]ninjatrader[DOT]com with "2471584 ATTN Marco G" in the subject line and a link to this forum post in the message body so I may investigate this matter further. Please also clarify what version of IB Gateway you are using with this connection.
Open your NinjaTrader folder under Documents.
Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
Send the 2 compressed folders as attachments to this email.
Once you have emailed these to us, you may delete these compressed folders.
Thanks in advance; I look forward to resolving this item for you.
Marco G.NinjaTrader Customer Service
-
Hello,
Thanks for that information.
In your files I'me seeing this error sent from Ib directly:Unable to connect to IB Gateway instance. Please check that TWS is running and that it is configured properly to accept API clients.'
I suspect the connection is not correctly configured at some point, or that a firewall or antivirus software may be blocking the connection.The following link will take you to a page that details the steps required for creating a connection to Interactive Brokers and specific connection configuration information.
http://www.ninjatrader.com/Connectio...tion-Guide.php
If everything looks correctly configured, the first thing I would recommend doing is shutting down NinjaTrader and restarting your modem/router.
If you have an antivirus/firewall installed you will want to add NinjaTrader to its exceptions list.
We realize that lost connections can be frustrating. A connection state between NinjaTrader and your broker/market data vendor is not dictated by NinjaTrader. The NinjaTrader application only reports the connection state as it is reported by the API you are connected through. NinjaTrader behaves like a radio receiver in that it receives signals from the connected server. If the signals are not coming through, the underlying broker/market data vendor API reports this to the NinjaTrader application which in turn reports this back to you. Once a loss of connection is reported, NinjaTrader or the underlying API will continuously try to re-establish a connection.
Common reasons that contribute to connection stability are:- ISP issues
- Hardware firewall changing IP addresses frequently
- Dynamic IP addresses changing frequently intraday. This usually happens once a week but you may want to check with your ISP. If they do change daily, requesting a static IP address may help.
- Broker/market data servers may be experiencing temporary downtime
Please let us know if we may be of further assistance.Marco G.NinjaTrader Customer Service
Comment
-
It appears that connection was established, its green, I see my IB account, however there is no market data feed.
IB API tool indicates the correct status of connection and market data feed is on.
In parallel, I launched TWS (IB default platform) and I observe marked data properly supplied.
Pls advise what may be the problem, as the IB support says "not on our side..."
Comment
-
Hello,
Thank you for the response.
That message is saying that the platform is unable to load market data due to a competing live session.
We have seen this item in cases where you are logged into your live account in one location and your paper account in another. It can also be due to a server outage.
To rule out the first one, please disconnect from all of your Interactive Brokers connections on any device you have. Next, connect only on the IB Gateway and then connect via NinjaTrader.
Do you receive live data?
I look forward to your reply.
Melissa J.NinjaTrader Customer Service
Comment
-
Hi,
On my Interactive Brokers account I have cash positions other than USD. Those are reflected on "sub-account" register in additional row of the terminal "portfolio" tab.
In my NT8 platform I see only total USD cash position, averaged under certain exchange rate...
Can NT8 terminal split the FX cash positions by separate rows, so that I understand what positions in every currency do I have at the moment?
Also, Is there an option to see total "portfolio P&L" (sum of all stocks holdings P&L) as currently it is not shown?
Thnx
Comment
-
Hello,
Thanks for the post.
Unfortunately neither of these items would be supported. The third party adaptor for Interactive Brokers does not provide a 'Portfolio P&L' value to the NinjaTrader Platform.
It is also not possible t split the PnL based on positions. That being said, you can always view your individual position PnL in the 'Positions' tab of the Control Center.
Please let us know if you have any further questions.Melissa J.NinjaTrader Customer Service
Comment
-
NinjaTrader and Trader Workstation/Gateway are completely separate applications. Tools that exist in TWS/Gateway are not available in NinjaTrader unless they've been specifically made for NinjaTrader.
Interactive Brokers does not provide NinjaTrader with a real-time news feed. You can learn more about what is and isn't included from each data provider in the link below:
Comment
-
Hi. I have a subscription to the full depth of the market from Interactive Brokers for one of the instruments (VIX). TWS shows me all the necessary information, however, this data is not exported to the Ninja Trader. Also, I can’t place an order on the SIM account.
At the same time, the data on the stocks for which I have a subscription feeds normally. And I can open positions on them through the SIM account. Do you have an idea what could be the problem?
Comment
-
Hello Aporshnev,
Thanks for posting.
Please send your log and trace files to our Platofrm Support team.
You can do this by going to the Control Center-> Help-> Email Support
Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.
Please reference the following ticket number in the body of the email: 2471584 ATTN Tyler
I look forward to being of assistance.
Tyler M.NinjaTrader Customer Service
Comment
-
Hello,
Thanks for posting.
The Interactive Brokers data feed does not provide NinjaTrader with full market depth. You would need to use a different data feed for this purpose. Also, the SuperDOM displays market depth for futures only. I've included some links below with more information:
Please let me know if I may be of further assistance.Tyler M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by proptradingshop, 03-21-2024, 09:50 AM
|
5 responses
26 views
0 likes
|
Last Post Today, 05:17 AM | ||
Started by MaupinFinche, Today, 05:08 AM
|
0 responses
5 views
0 likes
|
Last Post
by MaupinFinche
Today, 05:08 AM
|
||
Started by Enkidu, Yesterday, 06:40 AM
|
9 responses
35 views
0 likes
|
Last Post
by Enkidu
Yesterday, 01:11 PM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
12 responses
309 views
0 likes
|
Last Post
by z.franck
Today, 04:29 AM
|
||
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
269 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
Comment