com.dukascopy.api
Interface IPartialOrder

All Superinterfaces:
java.lang.Comparable<IPartialOrder>
All Known Subinterfaces:
ICloseOrder, IFillOrder

public interface IPartialOrder
extends java.lang.Comparable<IPartialOrder>

Contains partial order data (either fill or close) when order was partially or fully filled or closed by server, respectively.
Order's lifecycle contains from 0 to many elements of this data.

See Also:
IFillOrder, ICloseOrder, IOrder.getFillHistory(), IOrder.getCloseHistory()

Method Summary
 double getAmount()
          Returns amount of the filled/closed part.
 double getPrice()
          Returns price at which order was fully or partially filled/closed by server.
 long getTime()
          Returns time when order was fully or partially filled/closed by server.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getTime

long getTime()
Returns time when order was fully or partially filled/closed by server.

Returns:
time when order was filled/closed (partially or fully)

getPrice

double getPrice()
Returns price at which order was fully or partially filled/closed by server.

Returns:
price at which order was filled/closed (partially or fully)

getAmount

double getAmount()
Returns amount of the filled/closed part.

Returns:
filled/closed amount.