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.

Automatic start/stop and multiple strategies
 Post subject: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Wed 30 Apr, 2014, 09:25 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi,

- What are your thoughts on start and stop of a strategy? Will the strategy get automatically started? Will the strategy continue to run during the weekend, or will it get terminated on Fridays? Should I manually start the strategy or will you do this automatically on Sundays?

- What are your thoughts on running multiple strategies? Can I run multiple strategies connected to one bank account, or is one strategy connected to a specific bank account, and another strategy connected to another bank account? Also, what are your recommendations regarding strategies that work with multiple currency pairs? Do you recommend to have one strategy that works with multiple currency pairs, or do you recommend that a strategy should only work with one currency pair?

Thanks.

Regards,
Henrik


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 09:09 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
whiletrue wrote:
- What are your thoughts on start and stop of a strategy? Will the strategy get automatically started?
If you mean on platform start, then see:
https://www.dukascopy.com/wiki/#Auto_launching
whiletrue wrote:
Will the strategy continue to run during the weekend, or will it get terminated on Fridays?
The former.
whiletrue wrote:
- What are your thoughts on running multiple strategies? Can I run multiple strategies connected to one bank account, or is one strategy connected to a specific bank account, and another strategy connected to another bank account?
The platform works with a single bank account and so do the strategies.
whiletrue wrote:
Also, what are your recommendations regarding strategies that work with multiple currency pairs? Do you recommend to have one strategy that works with multiple currency pairs, or do you recommend that a strategy should only work with one currency pair?
It is a lot easier to control things if you are implementing it all in the same strategy - hence, in a strategy that works with multiple instruments. Besides if you are running multiple strategies in parallel you have to be sure that they are properly implemented such that they don't interfere with each other (the most common case is when a strategy modifies/closes orders that were created by another strategy).


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 09:44 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi again,

Regarding automatic start and stop: I was thinking about remotly running my strategy on your servers (https://www.dukascopy.com/wiki/#Remote_Run) (if this is still supported and will be supported in the future).

If I deploy my strategy to your remote servers, will the strategy:

- get started automatically?
- get stoppped automatically before a holidy/weekend?
- get started again once the holiday/weekend is over?
- get started again if it crashes (e.g., an of out memory exception)?

Thanks.

Regards,
Henrik


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 09:51 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Also, just to make sure:

- is it possible to use Remote run for Live trading?

Thanks,

Regards,
Henrik


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 12:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
whiletrue wrote:
If I deploy my strategy to your remote servers
This is not entirely accurate - you don't "deploy" the strategy, rather you compile it and select "Remote Run", thus on every remote run the platform deploys the strategy to remote servers, sets up the remote environment and starts it. The only three options for you as a remote service user are to start, stop and view the logs.
whiletrue wrote:
will the strategy:

- get started automatically?
Yes, on selcting "Remote Run" in the platform.
whiletrue wrote:
- get stoppped automatically before a holidy/weekend?
- get started again once the holiday/weekend is over?
- get started again if it crashes (e.g., an of out memory exception)?
No.
whiletrue wrote:
Also, just to make sure:

- is it possible to use Remote run for Live trading?
Yes.


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 14:38 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi again,

Sorry for not being clear that I was interested in remotely running my strategies.

- Can I have multiple strategies running remotely?
- If I can have multiple strategies running remotely, will all my remotely running strategies work towards one single bank account?
- If I can have multiple strategies running remotely, is there a risk that one strategy interferes with the the other strategies orders (as you wrote about before)?
- Do I have to start and stop my remotely running strategies via the JForex application, or are there other possibilities?

Thanks.

Regards,
Henrik


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 14:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
whiletrue wrote:
Sorry for not being clear that I was interested in remotely running my strategies.
All differences between remote and local runs are described here:
https://www.dukascopy.com/wiki/#Remote_Run
whiletrue wrote:
- Can I have multiple strategies running remotely?
Of course. It is trivial to check that.
whiletrue wrote:
- If I can have multiple strategies running remotely, will all my remotely running strategies work towards one single bank account?
Of course.
whiletrue wrote:
- If I can have multiple strategies running remotely, is there a risk that one strategy interferes with the the other strategies orders (as you wrote about before)?
We already described that it depends how well/bad the strategy is written - for instance, you run Startegy1 trades according to some logic, but then you launch Strategy2 which simply closes all orders. Thus, before launching multiple strategies the same time you need to be sure that they work only with their own collection of orders, see more on this here:
https://www.dukascopy.com/wiki/#Order_Management/Maintain_order_list


 
 Post subject: Re: Automatic start/stop and multiple strategies Post rating: 0   New post Posted: Fri 02 May, 2014, 15:04 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Thanks!

Regards,
Henrik


 

Jump to:  

  © 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