Dukascopy
 
 
Wiki JStore Search Login

JFOREX-2346 IOrder has no function for original open amount
 Post subject: JFOREX-2346 IOrder has no function for original open amount Post rating: 0   New post Posted: Mon 18 Oct, 2010, 17:03 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
IOrder.getAmount() gives the actual amount
IOrder.getRequestedAmount() gives the last requesting amount

Please support a new function to save the original open amount.


 
 Post subject: Re: JFOREX-2346 IOrder has no function for original open amo Post rating: 0   New post Posted: Mon 24 Jan, 2011, 09:25 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please elaborate the request.
We have a last requested amount. What is the difference with the original open amount?


 
 Post subject: Re: JFOREX-2346 IOrder has no function for original open amo Post rating: 0   New post Posted: Tue 25 Jan, 2011, 14:51 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
I give an example:
a) an order is opened @ volume €100.000
b) the order is changed to €80.000 by closing €20.000
c) the order is changed to €70.000 by closing €10.000
d) after that I use the following functions:
IOrder.getAmount()
gives back €70.000
IOrder.getRequestedAmount()
gives back €10.000

How can I retrieve the original opened volume from a)?
Please support this function.


 

Jump to:  

  © 1998-2024 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