I connected a java program to TWS using my paper account, but I didn't see
the problem you mentioned. Instead, the java program often died after I ran
it for a couple of hours, maybe because the memory setting of JVM is not big
enough.

Best,
Da Xu

On Sat, Dec 11, 2010 at 4:02 AM, Victor Martin <
[email protected]> wrote:

> Hi all,
>
> I need some help with a weird behaviour of TWS. After a while (more or less
> once per day) TWS closes itself and JBookTrades throws an EOFException. Here
> is the EventReport:
>
> 22:00:53:575    IB API               317: Market depth data has been RESET.
> Please empty deep book contents before applying any new entries. (for id2)
> 22:00:53.575    JBookTrader     Market data for book 2 has been reset.
> 22:00:56.175    IB API               1100: Connectivity between IB and TWS
> has been lost
> 22:00:56.175    IB API               java.io.EOFException
>
> After starting TWS again, JBookTrader is not able to reconnect and continue
> with the trading, so I have to restart it loosing all opened positions.
>
> I'm guessing that TWS has some kind of "data-consuming protection" that
> closes itself after an idle time, but I don't know how to avoid that. I've
> installed TWSStart, which is a third-party application that help to manage
> TWS (for example with the auto-login) but the problem wasn't resolved.
>
> Any ideas?
> Thank you,
> Victor
>
> --
> 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]<jbooktrader%[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