Dukascopy
 
 
Wiki JStore Search Login

JFOREX-1082 : order.getAmount() after (partial)close
 Post subject: JFOREX-1082 : order.getAmount() after (partial)close Post rating: 0   New post Posted: Thu 27 Aug, 2009, 17:01 
User avatar

User rating: 3
Joined: Wed 18 May, 2011, 16:25
Posts: 331
Location: SwitzerlandSwitzerland
IOrder.getAmount() returns the amount of the order (requested amount during State.OPENED and filled amount during State.Filled)

I've noticed, that the IOrder.getAmount() still returns the previously filled amount on receiving an IMessage.Type.ORDER_CLOSE_OK in onMessage.
How can I retrieve the currently open amount of an order. I'm looking for something like IOrder.getCurrentAmount() with the amount returned showing the currently filled amount on the platform.

Thanks, RR.


 
 Post subject: Re: order.getAmount() after (partial)close Post rating: 0   New post Posted: Fri 28 Aug, 2009, 16:53 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
it seems to be our error. We will take care about it. Thanks for helping.


 

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