oshcap / trade-manager

Automatically exported from code.google.com/p/trade-manager
1 stars 0 forks source link

Backtesting does not work #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to TWS via TradeManager
2. Add new ticker symbol to trading day, save
3. Select the new ticker, then click Get Chart Data.
4. Once data is downloaded disconnect from TWS and bring up Contract details
5. Run backtesting

What is the expected output? What do you see instead?
I would expect that the entries and exits are shown in the graph and the table 
below.
What happens is that the previously drawn graph for Price and Volume is cleared 
(empty picture).

No exception occurs. 

What version of the product are you using? On what operating system?
trademanager version: 2.5.8 
Mac OS X version:       10.7.3. 
Java version:     java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

Please provide any additional information below.
I'm not sure if I'm doing this correctly, some documentation or video 
demonstration would be helpful.

Thanks for your effort, please keep up the good work!

Original issue reported on code.google.com by tibor.k...@gmail.com on 28 Jun 2012 at 8:36

GoogleCodeExporter commented 8 years ago
OK this is fixed in 2.6. In 2.5.8 you need to close all charts and reopen. Back 
testing clears the data sets once each contract is tested this is to save 
memory when running thousands of back tests. Hence the empty chart.

2.6 will close all charts before a back test is run.

Original comment by simon.allen on 3 Jul 2012 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by simon.allen on 3 Jul 2012 at 1:25

GoogleCodeExporter commented 8 years ago
thanks, I'll try it out sometime soon!

Original comment by tibor.k...@gmail.com on 3 Jul 2012 at 1:30