jbooktrader.

86 views
Skip to first unread message

John-Crichton McCutcheon

unread,
Jun 3, 2019, 12:32:52 PM6/3/19
to jbook...@googlegroups.com
Hi, Ive got a fork  of JBooktrader where
1) upgraded to a very recent IB api .
      a) by and large porting to accessor methods and Enums in the API domain model.  
2) upgraded the dependent libraries to higher revs. ( JFreeCharts not so much) 
3)  created a gradle build.   

Is there any interest in moving this into the master branch ?  

Klaus

unread,
Jun 4, 2019, 12:24:58 PM6/4/19
to JBookTrader

Is there any interest in moving this into the master branch ?  

if this works reliable, then this would be great and I would be all for it. 

Another question as there are apparently still some people using it: 
is somebody out there who got ibgateway to work sufficiently stable non-stop?
I get some connection losses with logouts especially Sunday night (I start sunday to have it running on Monday morning) and sometimes during the week, also somewhere at night.


bubbleRefuge

unread,
Jun 11, 2019, 2:30:57 PM6/11/19
to JBookTrader
Status :  
So I've got it running in forward test mode.  Seems like the latest api has a new startup protocol forking off  a message processing thread which does nothing other than wait()  and call getMessage().
There is a bug TraderAssistant.checkAccountType() where it locks the startup process because the socket.reqAccountUpdates() IB api never calls back.  checkAccountType is a failsafe to prevent users from live trading by accident, so its not a huge deal.  I just added a timeout to the wait call and keep going.  I'll try to fix it when I have time.  

Is there any fork of JBookTrader anywhere that is more active ?  

Klaus

unread,
Jun 12, 2019, 1:04:27 PM6/12/19
to JBookTrader
 Is there any fork of JBookTrader anywhere that is more active ?  

brief search at github shows this https://github.com/jeremyis78/JBookTrader
with most recent update.

Klaus

bubbleRefuge

unread,
Jun 12, 2019, 7:36:59 PM6/12/19
to JBookTrader
Thanks. Saw that. 
Reply all
Reply to author
Forward
0 new messages