Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3163 submitOrder exception XAUUSD < 1000
 Post subject: JFOREX-3163 submitOrder exception XAUUSD < 1000 Post rating: 0   New post Posted: Thu 25 Aug, 2011, 14:34 

User rating: -
Followed https://www.dukascopy.com/wiki/index.php ... er_Amounts

engine.submitOrder("xauusdMinOrder", Instrument.XAUUSD, OrderCommand.BUY, 0.00001);

The order is rejected with the following error message:

$ORDER_SUBMIT_REJECTED - Your order has been rejected due to validation failure. Invalid amount value, amount must be >= 1000 order: CANCELED BUY 0.0 @ 0.0

Looks like the server reject orders below 1000 unit regardless it is currency or XAU.

Need help! Thanks!


 
 Post subject: Re: submitOrder throws exception when XAUUSD lot size < 1000 Post rating: 0   New post Posted: Thu 25 Aug, 2011, 18:28 

User rating: 0
Joined: Tue 31 May, 2011, 19:53
Posts: 7
Location: SingaporeSingapore
I had exactly same problem! engine.submitOrder() works fine for order size >= 1000, but nothing works if lot size below 1000. Bugs all over the air!!!


 
 Post subject: Re: JFOREX-3163 submitOrder exception XAUUSD < 1000 Post rating: 0   New post Posted: Tue 30 Aug, 2011, 19:00 

User rating: 0
Joined: Tue 31 May, 2011, 19:53
Posts: 7
Location: SingaporeSingapore
Staff please answer!


 
 Post subject: Re: JFOREX-3163 submitOrder exception XAUUSD < 1000 Post rating: 0   New post Posted: Wed 31 Aug, 2011, 14:20 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is already fixed in a standalone API. The standalone API can be obtained from Maven Repository or downloaded from the JForex Wiki resource.

The fix will be available in the platform in a next platform release.


 
 Post subject: Re: JFOREX-3163 submitOrder exception XAUUSD < 1000 Post rating: 0   New post Posted: Wed 31 Aug, 2011, 22:46 

User rating: 0
Joined: Tue 31 May, 2011, 19:53
Posts: 7
Location: SingaporeSingapore
I affirm that this bug is NOT fixed in the stand alone library by the time of this reply. Current version comes with:
DDS2-jClient-JForex-2.14.4.jar
jForex-2.14.4.jar
JForex-API-2.6.43.jar

The newest release of jforex library is 08/22, and this thread was opened on 08/25. Maven repo is right here and easy to check:
https://www.dukascopy.com/client/jforexlib/publicrepo/

I hate it when somebody irresponsibly making a false response.


 
 Post subject: Re: JFOREX-3163 submitOrder exception XAUUSD < 1000 Post rating: 0   New post Posted: Thu 01 Sep, 2011, 16:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Yes, you are right. It came to API 2.6.44 version. It will be deployed later.


 

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