Hi Eugene, Thanks for the prompt reply, here is the event report.
Keith 06/03/11 06:31:55.232 IB API 2106: HMDS data farm connection is OK:ushmds2a 06/03/11 07:29:49.016 ShortDefender4 Placing order 2 06/03/11 07:29:49.043 ShortDefender4 Order 2 is filled. Average fill price: 1303.75. Position: -1 06/03/11 07:52:02.000 ShortDefender4 Placing order 3 06/03/11 07:52:02.001 ShortDefender4 Order 3 is filled. Average fill price: 1305.25. Position: 0 06/03/11 08:04:36.000 ShortDefender3 Placing order 4 06/03/11 08:04:36.001 ShortDefender3 Order 4 is filled. Average fill price: 1305.5. Position: -1 06/03/11 08:04:36.001 ShortDefender4 Placing order 5 06/03/11 08:04:36.001 ShortDefender4 Order 5 is filled. Average fill price: 1305.5. Position: -1 06/03/11 08:04:36.001 Simple Placing order 6 06/03/11 08:04:36.001 Simple Order 6 is filled. Average fill price: 1305.5. Position: -1 06/03/11 08:04:58.000 ShortDefender3 Placing order 7 06/03/11 08:04:58.000 ShortDefender3 Order 7 is filled. Average fill price: 1305.75. Position: 0 06/03/11 08:04:58.000 Simple Placing order 8 06/03/11 08:04:58.000 Simple Order 8 is filled. Average fill price: 1305.75. Position: 0 06/03/11 08:05:22.000 ShortDefender4 Placing order 9 06/03/11 08:05:22.000 ShortDefender4 Order 9 is filled. Average fill price: 1305.0. Position: 0 06/03/11 08:36:57.499 IB API 1100: Connectivity between IB and TWS has been lost. 06/03/11 08:37:05.477 IB API 2105: HMDS data farm connection is broken:ushmds2a 06/03/11 08:37:21.427 IB API 2103: Market data farm connection is broken:usfarm 06/03/11 08:37:26.166 IB API 2103: Market data farm connection is broken:usopt 06/03/11 08:37:31.344 IB API 317: Market depth data has been RESET. Please empty deep book contents before applying any new entries. (for id 1) 06/03/11 08:37:31.344 JBookTrader Market data for book 1 has been reset. 06/03/11 08:37:31.345 IB API 2103: Market data farm connection is broken:usfuture 06/03/11 08:39:35.615 JBookTrader Problem while requesting time from server ntp2.usno.navy.mil: Receive timed out 06/03/11 08:40:38.955 IB API 317: Market depth data has been RESET. Please empty deep book contents before applying any new entries. (for id 1) 06/03/11 08:40:38.955 JBookTrader Market data for book 1 has been reset. 06/03/11 08:40:40.082 IB API 1100: Connectivity between IB and TWS has been lost. 06/03/11 08:40:40.084 IB API java.io.EOFException 06/03/11 08:45:39.745 JBookTrader com.jbooktrader.platform.model.JBookTraderException: Strategy Simple [ES-FUT-GLOBEX] is already running. at com.jbooktrader.platform.model.StrategyTableModel.createStrategyForRow(StrategyTableModel.java: 44) at com.jbooktrader.platform.model.MainFrameController.createSelectedRowStrategy(MainFrameController.java: 52) at com.jbooktrader.platform.model.MainFrameController.access $4(MainFrameController.java:47) at com.jbooktrader.platform.model.MainFrameController $5.actionPerformed(MainFrameController.java:148) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 1995) at javax.swing.AbstractButton $Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java: 387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java: 809) at javax.swing.plaf.basic.BasicMenuItemUI $Handler.mouseReleased(BasicMenuItemUI.java:850) at java.awt.Component.processMouseEvent(Component.java:6288) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6053) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at java.awt.LightweightDispatcher.processMouseEvent(Container.java: 4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java: 4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue $1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext $1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext $1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue $2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext $1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java: 269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java: 184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java: 174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Date Time Reporter Message 06/03/11 08:45:48.940 JBookTrader New Report Started. JBookTrader version 8.06 06/03/11 08:45:48.945 JBookTrader All times will be reported in the local time zone: America/Los_Angeles, Pacific Standard Time 06/03/11 08:45:54.511 JBookTrader Time host: ntp2.usno.navy.mil, name: USNO, stratum: 1, type: NTP, precision: 0.9537 microseconds 06/03/11 08:45:54.511 JBookTrader NTP clock initialized. Offset: 11219 ms 06/03/11 08:45:54.520 JBookTrader Running mode changed to: Forward Testing 06/03/11 08:46:05.739 JBookTrader Connecting to TWS 06/03/11 08:46:05.756 JBookTrader Connected to TWS 06/03/11 08:46:05.756 IB API 2104: Market data farm connection is OK:usfuture 06/03/11 08:46:05.757 IB API 2104: Market data farm connection is OK:usfarm 06/03/11 08:46:05.757 IB API 2106: HMDS data farm connection is OK:ushmds2a 06/03/11 08:46:05.800 JBookTrader Monitoring server started 06/03/11 08:46:05.802 LongDefender1 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:05.805 JBookTrader Requested contract details for instrument ES-GLOBEX-FUT-201106 06/03/11 08:46:05.807 JBookTrader Requested book data for instrument ES-GLOBEX-FUT-201106 06/03/11 08:46:05.809 JBookTrader Requested market data for instrument ES-GLOBEX-FUT-201106 06/03/11 08:46:06.580 IB API Contract details: Trading class: ES Exchanges: GLOBEX,MIBSX Long name: E-mini S&P 500 Market name: ES Minimum tick: 0.25 Contract month: 201106 Time zone id: CTT Trading hours: 20110603:1530-1630,1700-1515;20110606:1700-1515 Liquid hours: 20110603:0830-1515;20110606:0830-1515 06/03/11 08:46:08.497 LongDefender2 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:10.969 LongDefender3 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:13.075 LongDefender4 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:15.314 ShortDefender1 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:17.506 ShortDefender2 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:19.514 ShortDefender3 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:21.490 ShortDefender4 Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) 06/03/11 08:46:23.418 Simple Strategy started. Trading schedule: 10:00 to 15:30 (America/New_York) On Jun 3, 10:29 am, nonlinear <[email protected]> wrote: > > Today my internet connection was down for a few minutes for some > > reason. > > > TWS highlighted the problem asap and was attempting to reconnect. > > > I rebooted the cable modem and reestablished the internet connection. > > > My chart software Amibroker gave me a red ERR icon and I was able to > > reconnect back without restarting the software. > > > JBT did not recognize the disconnection or made any attempt to > > reconnect. > > > When I try to "re forward test" the strategies, it says it is still > > running but the screen stats did not move. > > JBT is designed to tolerate temporary loss of connection. If the network is > down, TWS will reconnect when the network is up, and signal that to JBT. JBT > will automatically do the necessary clean up, and continue trading normally. > There is no need to restart either TWS or JBT if your network is down. Even > if you reboot your cable modem, both TWS and JBT should be able to recover. > If you look in your JBT report event at around the time when your network > misbehaved, I bet you that you'll see log messages that JBT has detected it > and handled it. > > So, in summary, I believe JBT acted exactly the way it was designed. > However, if after rebooting the modem TWS was running normally but JBT was > not updating, that would be a problem. Please post your event report, so > that I can see what was going on. -- 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.
