com.dukascopy.api
Interface IFillOrder

All Superinterfaces:
java.lang.Comparable<IPartialOrder>, IPartialOrder

public interface IFillOrder
extends IPartialOrder

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


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

Method Detail

getTime

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

Specified by:
getTime in interface IPartialOrder
Returns:
time when order was filled (partially or fully)

getPrice

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

Specified by:
getPrice in interface IPartialOrder
Returns:
price at which order was filled (partially or fully)

getAmount

double getAmount()
Returns amount of the filled part.

Specified by:
getAmount in interface IPartialOrder
Returns:
filled amount.