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.

copy orders between 2 dukascopy accounts
 Post subject: copy orders between 2 dukascopy accounts Post rating: 0   New post Posted: Thu 09 Feb, 2017, 21:34 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Dear Support,

Is the API supporting copying orders between 2 accounts?
If yes, may I see an example how to do this?

I've look around in the javadoc for engine.submitorder() function that has an account parameter, but I haven't found one. Probably I am on the wrong track...

Anyway, please let me know what are the options on this topic currently.

Thanks and regards.


 
 Post subject: Re: copy orders between 2 dukascopy accounts Post rating: 0   New post Posted: Sun 12 Feb, 2017, 16:44 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
Some one has done a plugin that copies from master to slave


 
 Post subject: Re: copy orders between 2 dukascopy accounts Post rating: 0   New post Posted: Mon 13 Feb, 2017, 08:03 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
One option is to use java Sockets:
https://www.dukascopy.com/wiki/en/devel ... connection


 
 Post subject: Re: copy orders between 2 dukascopy accounts Post rating: 0   New post Posted: Mon 13 Feb, 2017, 10:09 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
@jalodge
Thanks James :). I will look around in JStore...

@Support
So does this mean that the API currently cannot handle 2 accounts? And the only way to manage this is with running 2 separate strategies for the 2 accounts, and let the strategies communicate with each other?


 
 Post subject: Re: copy orders between 2 dukascopy accounts Post rating: 0   New post Posted: Wed 01 Mar, 2017, 08:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There can be only 1 IClient or ITesterClient instance in each Java process.


 

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