Ozgay / truetrade

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

Running strategy when optimisation is working produces weird results. #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Optimisation
2. When optimisation is running, run strategy

What is the expected output? What do you see instead?
Strategy from 1 and 2 should not interfere but they do. It produces weird net 
profits.

I has been introduced in r150 which removed running optimisation from ui 
thread. This is probably caused by the fact, that OrderManager is singleton.

Original issue reported on code.google.com by kazik1...@gmail.com on 27 Jan 2012 at 10:34

GoogleCodeExporter commented 8 years ago

Original comment by kkazmier...@gmail.com on 27 Jan 2012 at 10:35