|
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.
Problems placing stop loss |
bunyip
|
Post subject: Problems placing stop loss |
Post rating: 0
|
Posted: Thu 07 Jun, 2012, 19:32
|
|
User rating: 2
Joined: Thu 01 Mar, 2012, 17:17 Posts: 42
|
Hi Support,
I'm trying to run a strategy that places a stop loss as a stop order is submitted, but when the order is filled, I get a message: "com.dukascopy.api.JFException: Stop loss orders are not allowed on global accounts @ jfstrategies".
As far as I can see the Wiki says nothing about stop loss orders not being allowed, the strategy isn't intended for any of your competitions, and I've made sure the price is divisible by 0.5 pips and the order isn't updated more than once a second. I'm sure I've missed something, but what is it?
Many thanks for your help,
Bunyip
|
|
|
|
 |
API Support
|
Post subject: Re: Problems placing stop loss |
Post rating: 0
|
Posted: Fri 08 Jun, 2012, 15:39
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
It is not allowed to use stop loss with global accounts.
|
|
|
|
 |
imorris2012
|
Post subject: Re: Problems placing stop loss |
Post rating: 0
|
Posted: Thu 09 Aug, 2012, 05:25
|
|
User rating: 7
Joined: Wed 11 Jul, 2012, 11:16 Posts: 34
|
What exactly do you mean by "global account"?
|
|
|
|
 |
API Support
|
Post subject: Re: Problems placing stop loss |
Post rating: 0
|
Posted: Thu 09 Aug, 2012, 09:46
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
A global account is a non-hedge mode.
In non-hedge mode: 1.0 MIO BUY EUR/USD and 1.5 MIO SELL EUR/USD positions will look like a 0.5 SELL EUR/USD position
|
|
|
|
 |
imorris2012
|
Post subject: Re: Problems placing stop loss |
Post rating: 0
|
Posted: Thu 09 Aug, 2012, 10:52
|
|
User rating: 7
Joined: Wed 11 Jul, 2012, 11:16 Posts: 34
|
I understand. I'm currently in DEMO and it won't allow me to put a stop loss in. How do I get out of a global account, or more specifically, choose what type of account I have?
|
|
|
|
 |
API Support
|
Post subject: Re: Problems placing stop loss |
Post rating: 0
|
Posted: Fri 10 Aug, 2012, 09:01
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|