Software locks up every time I click Forward Test

55 views
Skip to first unread message

greymatter

unread,
Feb 21, 2014, 4:18:26 PM2/21/14
to jbook...@googlegroups.com
I've run into this with 8.x and 9.x.

It connects to TWS.  I see this in my Eclipse console:

    Server Version:69
    TWS Time at connection:20140221 14:49:09 EST

But the instant I select Forward Test, the UI freezes.  In fact, the menu won't go away.  It shows Forward Test selected, and it will not respond to any mouse clicks, although the Mac menu is able to quit the application.

Is this a configuration issue within TWS?

Thanks,
Lee

Eugene Kononov

unread,
Feb 21, 2014, 4:22:29 PM2/21/14
to JBookTrader
Please post your EventReport.html, found in the /reports directory. Most likely, this is an issue with the NTP clock, which can be resolved.


--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader...@googlegroups.com.
To post to this group, send email to jbook...@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/groups/opt_out.

greymatter

unread,
Feb 21, 2014, 5:50:58 PM2/21/14
to jbook...@googlegroups.com
It must be related to 321: Error validating request:-'hc' : cause - The account code is required for this operation. (for id 2147483647), but I have no idea what it means.

Thanks for any insights!

Lee
EventReport.htm

Eugene Kononov

unread,
Feb 21, 2014, 6:01:50 PM2/21/14
to JBookTrader

It must be related to 321: Error validating request:-'hc' : cause - The account code is required for this operation. (for id 2147483647), but I have no idea what it means.


Yes, that appears to be the cause. Did you customize JBT in some way? 

 

greymatter

unread,
Feb 21, 2014, 6:19:17 PM2/21/14
to jbook...@googlegroups.com
Not intentionally.  :-)

I've had some difficulty getting started.  The docs are a little thin or dated, so I'm hacking my way through.  For instance, I wanted the latest code, but I found that I did not get the 9.x code from Subversion.  So I downloaded the 9.x archive from Google Code and copied it into the structure checked out of SVN.  So maybe that's where things went wrong.

However, I am pretty sure I ran into the same lock up issue with my initial checkout from SVN (before I realized that it was the 8.x version).  I thought I saw those runs in the event report, as well.

Basically, this has happened every time I've tried to run it.

Could there be an issue with Mac OS X version, JDK version, Eclipse version, or TWS version that might cause this?  I have not yet begun to modify the first line of code, so I'm either doing something wrong, or there is an environmental issue.

I'm on a Mac that I just upgraded from Snow Leopard (10.6.8) to Mavericks, because I needed to install Java 7.  However, I saw this lockup problem in both Snow Leopard and Mavericks.  And with Java 6 and Java 7.  I'm actually working in GGTS (a special version of Eclipse that includes Groovy and Grails plugins).

Thanks,
Lee

Eugene Kononov

unread,
Feb 21, 2014, 6:27:07 PM2/21/14
to JBookTrader
This is the latest "official" version:

I'd start from there. Does your IB account number start with a "U" or a "D"?



--

Lee Grey

unread,
Feb 21, 2014, 6:48:51 PM2/21/14
to jbook...@googlegroups.com
Yes, I had intended to mention that as well. Not only is my account a paper trading account, but it is also an FA account. Could either or both of those be the problem?

If so, are these any workarounds?

Thanks!
You received this message because you are subscribed to a topic in the Google Groups "JBookTrader" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jbooktrader/AMHaQKuICL8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jbooktrader...@googlegroups.com.

Eugene Kononov

unread,
Feb 21, 2014, 7:11:41 PM2/21/14
to JBookTrader
Yes, I had intended to mention that as well. Not only is my account a paper trading account, but it is also an FA account. Could either or both of those be the problem?


Ok, that's what causing the issue. To fix it, go to Configure | Preferences| FAAccount, and specify the subaccount. 

Lee Grey

unread,
Feb 23, 2014, 11:20:43 AM2/23/14
to jbook...@googlegroups.com
Yes, that was the problem, thanks.

So, that raises the question, what about multiple accounts?  Would I have to run a separate instance of JBT for each subaccount?  Is anyone already doing this?

Thanks very much,
Lee


On Fri, Feb 21, 2014 at 7:11 PM, Eugene Kononov <eugene....@gmail.com> wrote:
Yes, I had intended to mention that as well. Not only is my account a paper trading account, but it is also an FA account. Could either or both of those be the problem?


Ok, that's what causing the issue. To fix it, go to Configure | Preferences| FAAccount, and specify the subaccount. 

Reply all
Reply to author
Forward
0 new messages