NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Connecting

Connecting Support for establishing connections to your broker or market data service provider.

Reply
 
Thread Tools Display Modes
Old 04-24-2008, 10:49 AM   #1
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default Reproducing "Max number of tickers has been reached 101" error message

I spent quite some time investigating why I kept getting "Max number of tickers has been reached 101" error, which made me not able to use NT to trade IB TWS.

In NT, I created two workspaces, one is called "DailyExport", in which I created a few daily charts, another one is called "Defult", in which only one intraday 5min chart is open.

I did not realized that if there are multiple workspaces shown in workspaces menu, they are all opened when NT starts. The check mark only means that workspace is actively shown on screean.

Anyway due to my misunderstanding, when NT starts, both workspaces are open, therefore NT requests hsitorical data for all instruments in my "DailyExport" workspace.

Because I created that "DailyExport" workspace yesterday, the last trading day of the data series of all daily charts is set to "4/23/2008". The detailed descript of this issue is in this post:
http://www.ninjatrader-support.com/v...ead.php?t=7204
So today when I opened NT, all daily charts in the invisible "DailyExport" workspace showed data up to yesterday.

Now it comes the big problem. Whenever I click "Connect" menu to connect NT to my IB paper trading account, in NT Log window there are multiple Max number of tickers has been reached 101 error message shown up.

Because there are only about 13 daily charts opened, the # of tickers should never reach the 100 limit.

This issue can be reproduced each time following my above description.
So I believe there must be something wrong in NT.

BTW, I manually edited each daily chart setting to modify the last trading day to today's date and the error 101 did not show up. When I changed it back to yesterday's date, 101 message showed up again. (However I only tested this once (change them and change them back).

There might be a few conditions need to be met: enough number of daily charts (> 10?), last trading day in data series format window is set to yesterday.

- Clearpicks
clearpicks is offline  
Reply With Quote
Old 04-24-2008, 11:11 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please contact IB support to understand on which conditions you'll run into that TWS limitation.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-24-2008, 01:28 PM   #3
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default

In the log file of IB TWS, for each instance I got 101 error in NT, I saw a line "Can't find EId with tickerId" in IB log. Something like:

HL 09:15:04:667 JTS-EServerSocket-34: SECDEF Sending reqId=FixSecDefReqBySymbol15 symbol=ZN 0 ECBOT
HL 09:15:04:667 JTS-EServerSocket-34: SECDEF Sending reqId=FixSecDefReqBySymbol16 symbol=YM 0 ECBOT
HL 09:15:04:702 JTS-CCPDispatcher-12: SECDEF Handling reqId=FixSecDefReqBySymbol15
HL 09:15:04:703 JTS-CCPDispatcher-12: Sending market data Subscribe 43535681/ECBOT/3...
HL 09:15:04:704 JTS-CCPDispatcher-12: Farm usfuture/mktgw1.ibllc.com/4000/3: Adding message to queue
HL 09:15:04:732 JTS-cashfarmDispatcher-38: Received MD auth msg classid = 1
HL 09:15:04:732 JTS-cashfarmDispatcher-38: Received SERVER_PARAMS
HL 09:15:04:738 JTS-CCPDispatcher-12: SECDEF Handling reqId=FixSecDefReqBySymbol16
HL 09:15:04:739 JTS-CCPDispatcher-12: Can't find EId with tickerId:3


IB tech support told me most of the time that message occurs if the API application is trying to cancel a connection that doesn’t exist. So I think there might be something wrong in eitehr NT or IB API which remembered some incorrect status info from workspace(?) such as instrument mapping, data reqid, etc.

- Clearpicks
clearpicks is offline  
Reply With Quote
Old 04-24-2008, 10:37 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately we are unable to comment TWS traces. Please follow up with IB support.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-25-2008, 08:21 AM   #5
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default

Just open one daily chart with last day set to yesterday 04/24/2008 and save this one chart workspace and shutdown NT.

Reopen NT, connect to IB paper trading account, and in the Log window of NT, one 101 error message would appear. In the correpsonding IB TWS log, a "Can't find EId with tickerId:1" log can be found at the same time as that in NT log window. So is this an NT's bug or IB API bug?

- Clearpicks
clearpicks is offline  
Reply With Quote
Old 04-25-2008, 08:29 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> "Can't find EId with tickerId:1"
Please see below. You would need to ask IB support on their logs.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-25-2008, 08:51 AM   #7
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default

I have been working with IB support to solve this problem since yesterday morning. I have sent them the log files and xml files.

I will keep you updated once IB support gets back to me with the answer.

Quote:
Originally Posted by NinjaTrader_Dierk View Post
>> "Can't find EId with tickerId:1"
Please see below. You would need to ask IB support on their logs.
clearpicks is offline  
Reply With Quote
Old 12-04-2008, 12:29 PM   #8
geoarb
Member
 
Join Date: Jul 2007
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

Any update on this will be appreciated as I am getting the same message....
thanks
Geo
geoarb is offline  
Reply With Quote
Old 12-04-2008, 12:37 PM   #9
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Not sure if that would resolve your issues, but please double check your are on latest 6.5.1000.7.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 12-04-2008, 12:39 PM   #10
geoarb
Member
 
Join Date: Jul 2007
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

yes i am with the recommended version of TWS.
thanks

Quote:
Originally Posted by NinjaTrader_Dierk View Post
Not sure if that would resolve your issues, but please double check your are on latest 6.5.1000.7.
geoarb is offline  
Reply With Quote
Old 12-04-2008, 12:41 PM   #11
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Sorry, 6.5.1000.7 is the latest NT release number.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 12-04-2008, 12:43 PM   #12
geoarb
Member
 
Join Date: Jul 2007
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

What I meant was Yes I am on that Ninja version along with the recommended version of TWS

thanks
Geo

Quote:
Originally Posted by NinjaTrader_Dierk View Post
Sorry, 6.5.1000.7 is the latest NT release number.
geoarb is offline  
Reply With Quote
Old 12-04-2008, 12:47 PM   #13
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for checking. Then I guess we are back to square #1 which is contacting IB support as per below.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"'OrderRejected'. Strategy has sent cancel requests" & "There is no market data..." Elliott Wave Strategy Development 6 04-12-2008 12:03 AM
Error Message "....shut down NJ...restart..." BIGRED Historical NinjaTrader 6.5 Beta Threads 14 01-13-2008 10:53 PM
Control center "strategies" tab, "Positions tab, and "Market Analyzer" not funk101 Strategy Development 6 04-10-2007 03:44 AM
"strategies not supported with this product" error in NT6b5 nip Automated Trading 3 01-17-2007 12:30 AM
IB Error Msg '101 Max number of tickers ...'on Ninja Log cam Automated Trading 4 01-10-2007 01:30 AM


All times are GMT -6. The time now is 12:36 AM.