|
JFOREX-1820 Continue thread after context.pause |
RoadRunner
|
Post subject: JFOREX-1820 Continue thread after context.pause |
Post rating: 0
|
Posted: Tue 18 May, 2010, 14:15
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
Hi,
when calling the tester through the ITesterClient, how can a strategy that got paused by IContext.pause() get started again?
Best, RR.
|
|
|
|
 |
API Support
|
Post subject: Re: ITesterClient: how to continue thread after context.paus |
Post rating: 0
|
Posted: Wed 26 May, 2010, 09:00
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
Sorry, at the moment it's not possible. We have plan's to implement in a near future.
|
|
|
|
 |
[Phantal]
|
Post subject: Re: ITesterClient: how to continue thread after context.paus |
Post rating: 0
|
Posted: Thu 27 May, 2010, 07:33
|
|
User rating: 0
Joined: Fri 07 May, 2010, 02:59 Posts: 61
|
RR:
I haven't played with this at all yet, but check to see if it's just a matter of the thread sleeping or blocked. If that's all it is, try sending a 'wake up' to that thread. This should generate an InterruptedException (or something similar). Assuming I'm right this should wake the thread up. Then you would just hope their code wraps the blocking call in a try/catch block to handle it.
-Brian
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-1820 Continue thread after context.pause |
Post rating: 0
|
Posted: Fri 09 Jul, 2010, 08:36
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
IContext.pause will not pause the testing process when strategy started from JForex API
|
|
|
|
 |
RoadRunner
|
Post subject: Re: JFOREX-1820 Continue thread after context.pause |
Post rating: 0
|
Posted: Fri 13 Aug, 2010, 10:34
|
|
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
|
Dear Support,
the code is still pausing and cannot get resumed when started from JForex API.
Could you please look at this issue again? Thanks, RR.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|