Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

JFOREX-1082 : order.getAmount() after (partial)close
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=85&t=706
Page 1 of 1

Author:  RoadRunner [ Thu 27 Aug, 2009, 17:01 ]
Post subject:  JFOREX-1082 : order.getAmount() after (partial)close

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.

Author:  API Support [ Fri 28 Aug, 2009, 16:53 ]
Post subject:  Re: order.getAmount() after (partial)close

it seems to be our error. We will take care about it. Thanks for helping.

  Page 1 of 1