For the time being, if you have a terrible internet connection, replace the
line that reads
if (mode == Mode.Trade || mode == Mode.ForceClose) {
socket.placeOrder(orderID, contract, order);
by
if (mode == Mode.Trade) {
socket.placeOrder(orderID, contract, order);
The 'force close' feature will not function anymore, but you will not be
risking open ended live trades when in forward mode.
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/groups/opt_out.