Dukascopy
 
 
Wiki JStore Search Login

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.

Multiple strategies within a strategy
 Post subject: Multiple strategies within a strategy Post rating: 0   New post Posted: Tue 25 Oct, 2011, 06:31 

User rating: 0
Joined: Thu 19 May, 2011, 07:42
Posts: 7
Location: JP
Hi, support.

Now I consider...https://www.dukascopy.com/wiki/index.php ... a_strategy

If I back test multi instrument strategies, should I download many pairs datas in historical tester? :roll: :roll: :roll:


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Tue 25 Oct, 2011, 09:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Before using that approach, please consider which of the approaches of launching multiple instances of the same strategy, might be the most convenient one for you. Consider the following alternatives:
1) See autolaunching options:
https://www.dukascopy.com/wiki/index.php ... omatically
2) Also you might open in JForex client multiple instance of the same strategy in Workspace pane.
3) Using Standalone API:
https://www.dukascopy.com/wiki/index.php ... strategies
higebouzu wrote:
If I back test multi instrument strategies, should I download many pairs datas in historical tester?
You need to select all instruments in Historical Tester wtih + button that your strategies are going to use.


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Tue 25 Oct, 2011, 13:49 

User rating: 0
Joined: Thu 19 May, 2011, 07:42
Posts: 7
Location: JP
Thank your fast & exact replying! :) :) :)

I'll try them.

But I'm a beginner of programing.

I have to make a file including multi instances & a methods it & a folder holding them.
& then I set instances file to run.

Is it right?


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Tue 25 Oct, 2011, 13:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
higebouzu wrote:
I have to make a file including multi instances & a methods it & a folder holding them.
& then I set instances file to run.
First you need to create a .jar file, containing your strategy (see a tutorial for Eclipse IDE https://www.youtube.com/watch?v=osV89b8QN3Q). Then you should add the .jar file for your "multi-strategy" by @Library annotation, just as it is done in the wiki example.


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Tue 25 Oct, 2011, 17:14 

User rating: 0
Joined: Thu 19 May, 2011, 07:42
Posts: 7
Location: JP
Thanx support.

But I have questions.
-Your suggestion is as launch multiple strategy on my PC?
-What advantages can I get comparing wiki example? Faster?
  ^I found degree of freedom with it.

Ultimate problem! Maybe my knowledge is short to code.
Same wiki sample to the end?
If it's not so & you are OK, lecture me your sample. :roll: :roll: :roll:


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Wed 26 Oct, 2011, 09:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
higebouzu wrote:
-Your suggestion is as launch multiple strategy on my PC?
The easiest is 2) - but you have to do the launching of each strategy manually. So we suggest you to start with 1) - autolaunching from command line, since it is both automatized and rather more graspable for a beginner programmer. When you get more comfortable with java programming and JForex API, try the wiki example and/or 3) - the Standalone API approach.


 
 Post subject: Re: Multiple strategies within a strategy Post rating: 0   New post Posted: Wed 26 Oct, 2011, 11:12 

User rating: 0
Joined: Thu 19 May, 2011, 07:42
Posts: 7
Location: JP
Yes.
I consider them more.

Thank your long support to me.

You're nice. ;) ;) ;)


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com