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

Can't write method that returns the type of 1 opened order.
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=52883
Page 1 of 1

Author:  chuvee [ Sat 04 Jul, 2015, 12:12 ]
Post subject:  Can't write method that returns the type of 1 opened order.

Hello, JForex people. Hint me please or better show the code of a method which returns the type of one opened order.
And thanks a lot.

Author:  API Support [ Mon 06 Jul, 2015, 08:47 ]
Post subject:  Re: Can't write method that returns the type of 1 opened order.

Consider the following code
for(IOrder order : engine.getOrders()) {
   console.getOut().println(order.getLabel()+ " "+ order.getState()+ " "+ order.getOrderCommand());           
}

  Page 1 of 1