|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
| StrategyRunner thread calls System.exit() |
|
[Phantal]
|
| Post subject: StrategyRunner thread calls System.exit() |
Post rating: 0
|
Posted: Thu 03 Jun, 2010, 09:17
|
|
User rating: 0
Joined: Fri 07 May, 2010, 02:59 Posts: 61
|
|
This is a serious problem. It takes anywhere from 10-60 seconds just to get a strategy started -- depending on whether it needs to cache new data or not, and the length of the period being tested; 1 month of data, pre-cached, takes about 15 seconds before the strategy is actually executing.
I have a workaround for this problem, but I shouldn't have to implement a workaround for this. Please remove the System.exit() call.
-Brian
|
|
|
|
|
 |
|
API Support
|
| Post subject: Re: JFOREX-1815 StrategyRunner thread calls System.exit() |
Post rating: 0
|
Posted: Tue 29 Jun, 2010, 10:39
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
If you are using our test example, please remove System.exit(0) out of the ISystemListener.onStop method. There are not System.exit calls in the Tester.
|
|
|
|
|
 |
|
[Phantal]
|
| Post subject: Re: StrategyRunner thread calls System.exit() |
Post rating: 0
|
Posted: Tue 29 Jun, 2010, 18:59
|
|
User rating: 0
Joined: Fri 07 May, 2010, 02:59 Posts: 61
|
|
Bah. I beat my head for quite awhile on that one, I can't believe I missed it.
Thanks.
-Brian
|
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|