|
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.
Offline Tester |
[Carten_K]
|
Post subject: Offline Tester |
Post rating: 0
|
Posted: Mon 27 Sep, 2010, 13:31
|
|
User rating: 0
Joined: Mon 27 Sep, 2010, 13:19 Posts: 6
|
Hello Support,
I'm currently working on a strategy tester for testing strategies off-line.
Since I want the strategies to be tested with varying (@configurable) variables, I have to get and set those variables in my program.
So, how can I get and set all variables with the @configurable-annotation from the strategy? Is there any other possibility than Java Reflection?
greetings
C
|
|
|
|
 |
[hziee]
|
Post subject: Re: Offline Tester |
Post rating: 0
|
Posted: Tue 28 Sep, 2010, 03:20
|
|
User rating: 0
Joined: Tue 28 Sep, 2010, 02:12 Posts: 6
|
hi C,
I post my idea, I popup a dialog, after IStrategy start. then can dynamic change the settings.
just be careful with Lock.
BR K
|
|
|
|
 |
[Carten_K]
|
Post subject: Re: Offline Tester |
Post rating: 0
|
Posted: Tue 28 Sep, 2010, 08:47
|
|
User rating: 0
Joined: Mon 27 Sep, 2010, 13:19 Posts: 6
|
Yes, I want to popup a menu to change the parameters. And I want to write my own program that can do it. But how do I read out only those variables that have the @configurable annotation?
The Dukscopy software does this for me, but since I want to create an offline tester and I don't have the code of Dukascopy, this doesn't help.
|
|
|
|
 |
API Support
|
Post subject: Re: Offline Tester |
Post rating: 0
|
Posted: Tue 28 Sep, 2010, 14:57
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|