Maspear / jbooktrader

Automatically exported from code.google.com/p/jbooktrader
0 stars 0 forks source link

Network issues in the middle of order submission may result in duplicate orders #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I have no idea.  First, start with a poor network connection...

What is the expected output? What do you see instead?

I expected/hoped that IB and JBT would sync up once the connection was
re-established, but apparently, they did not.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mkoistinen@gmail.com on 20 Aug 2009 at 4:59

GoogleCodeExporter commented 9 years ago
This may have been caused by the faulty logic in PositionManager. Specifically, 
the
"orderExecutionPending" flag is meant to be shared by all strategies, but it's 
in
fact unique for every strategy. This will be addressed in release 7.03.

Original comment by eugene.k...@gmail.com on 20 Aug 2009 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by eugene.k...@gmail.com on 24 Aug 2009 at 11:53