I am using Windows 7 with McAffee firewall and jre6. Do you think those could affect things? I can connect to TWS (though not IB Gateway) but IB does not recognize SPY and QQQQ as valid symbols. Here is my JBT log file:
01/07/11 10:19:50.818 JBookTrader New Report Started. JBookTrader version 8.02 01/07/11 10:19:50.823 JBookTrader All times will be reported in the local time zone: America/Chicago, Central Standard Time 01/07/11 10:19:59.889 JBookTrader Time host: ntp2.usno.navy.mil, name: USNO, stratum: 1, type: NTP, precision (µs): 0.9537 01/07/11 10:19:59.889 JBookTrader NTP clock initialized. Offset: 5629 ms 01/07/11 10:19:59.913 JBookTrader Running mode changed to: Forward Testing 01/07/11 10:20:05.542 JBookTrader Connecting to TWS 01/07/11 10:20:07.772 JBookTrader Connected to TWS 01/07/11 10:20:07.827 FollowTrendW Strategy started. Trading schedule: 10:20 to 15:25 (America/New_York) 01/07/11 10:20:07.828 FollowTrendW Requested contract details for instrument SPY-SMART-STK 01/07/11 10:20:07.829 FollowTrendW Requested book data for instrument SPY-SMART-STK 01/07/11 10:20:07.829 FollowTrendW Requested market data for instrument SPY-SMART-STK 01/07/11 10:20:07.900 IB API 200: No security definition has been found for the request (for id 0) 01/07/11 10:21:18.000 IB API 200: No security definition has been found for the request (for id 2) ________________________________ From: new_trader <[email protected]> To: JBookTrader <[email protected]> Sent: Fri, January 7, 2011 3:31:03 PM Subject: [JBookTrader] Re: problem placing stock trades OK, then let us track it down a bit more: which OS in which version are you using, which Java version, which firewall do you use (espsecially some Windows firewalls block internal connections to localhost) ? these problems of kind "sometimes running - sometimes not running" in the end have often explainable causes, for example somewhen I thought I could not connext to TWS. the problem was I could not connect to the default JBT NTP server from within an Amazon AWS AMI image. changing to another NTP server fixed the problem. -- 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.
