new_trader, you were right: IBGateway is preset to a different port than TWS. I 
have changed the socket port number and now the connection to IBGateway is not 
a 
problem. Thanks a lot for your suggestion.

One difference I noticed is that unlike the TWS, IB Gateway connection does not 
require confirmation when the connection is established.




________________________________
From: new_trader <[email protected]>
To: JBookTrader <[email protected]>
Sent: Fri, January 7, 2011 4:22:44 PM
Subject: [JBookTrader] Re: problem placing stock trades

perhaps you could try disabling McAffee firewall for some minutes and
try again.
you should also check on which port IBGateway is listening, perhaps it
differs from TWS port.

perhaps you could send an "empty" strategy java file so we can
reproduce. with empty I mean a strategy file not containing your
trading logic of the onBookSnapshot() method so you don't have to
reveal your trading logic.

when I open QQQQ in my TWS in the BookTrader window, TWS tells me that
market data subscription for ISLAND and ARCA is missing. perhaps this
can be a clue...

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.


      

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.

Reply via email to