Dukascopy
 
 
Wiki JStore Search Login

Multiple accounts
 Post subject: Multiple accounts Post rating: 0   New post Posted: Thu 14 Feb, 2013, 11:50 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
hello,

I have 2 accounts at dukascopy. I would like to know, if there is any way i can
trade both accounts at the same time. Meaning, i can open/close positions with 1 click
on both accounts.


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Thu 21 Feb, 2013, 17:36 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
Anybody?


 
 Post subject: Re: Multiple accounts Post rating: 2   New post Posted: Thu 21 Feb, 2013, 17:43 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I'd say you can certainly achieve that with a custom coded standalone API client.

HyperScalper


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Fri 22 Feb, 2013, 15:57 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
I was hoping for more simple solution..


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Sat 23 Feb, 2013, 01:59 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I believe you can sign into 2 instances of JForex, one for each account, if I'm not mistaken.

HyperScalper


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Tue 26 Feb, 2013, 13:12 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
Yes you can, but you can not (that i know of) open/close positions with 1 click on both accounts
at the same time. This is not a big deal if you are a position/swing trader. But if one is a scalper, reaction time
is important.


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Tue 26 Feb, 2013, 15:37 
User avatar

User rating: 94
Joined: Mon 06 Feb, 2012, 12:22
Posts: 357
Location: Portugal, Castelo Branco
Hi mak:

I never tried this, but that is possible if you have each account opened in a separated JForex client instance. For this, you have a strategy that acts like a "server" with socket connection on one JForex instance and send/receive messages from other JForex instance acting as "client" with other strategy, or other possibility is "client" <--> "client" communication.

Some reference to start:
https://www.dukascopy.com/wiki/#Socket_Connection
https://www.dukascopy.com/wiki/#Socket_Channel

Other possibility is a personalized platform that allows to open more than one account at time and allow replication between accounts.

I hope that helps

JL


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Wed 27 Feb, 2013, 05:24 
User avatar

User rating: 0
Joined: Tue 02 Aug, 2011, 11:35
Posts: 32
Location: United Arab Emirates, Dubai
I had someone write me a program to do this ... it worked/works ..needs a bit off tidying up.


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Wed 27 Feb, 2013, 22:20 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I would think a single standalone API client should be able to create 2 IClient instances, each logged into a separate account and then synchronize the activities automaGically.

However, I've not tried this but would expect this would be the way to go for speed and tight integration.

HyperScalper


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Thu 28 Feb, 2013, 15:08 

User rating: 0
Joined: Tue 20 Mar, 2012, 09:24
Posts: 46
Location: Slovenia,
Thanks for sugestions guys. Looks like 3rd party app. is a way to go here. I was
hoping, something (simple) already exists as a solution, but it looks like i will have to pay someone to do this for me or
wait for fxsynergy, which is supose to support jforex accounts in the future version.


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Thu 28 Feb, 2013, 15:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
hyperscalper wrote:
I would think a single standalone API client should be able to create 2 IClient instances, each logged into a separate account and then synchronize the activities automaGically.
See:
viewtopic.php?f=65&t=35436


 
 Post subject: Re: Multiple accounts Post rating: 0   New post Posted: Fri 01 Mar, 2013, 01:03 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
API Support wrote:
hyperscalper wrote:
I would think a single standalone API client should be able to create 2 IClient instances, each logged into a separate account and then synchronize the activities automaGically.
See:
viewtopic.php?f=65&t=35436



So it won't work. IClient instances are Singleton.

I won't ask WHY it was designed in that way ...... ;-)

The only solution is multiple processes and inter-process communication.

Java RMI is one possibility to inter-communicate.

I'm glad it isn't my problem to solve :)

HyperScalper


 

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