Order Interface


Interface Order

public interface Order

Order is an abstract base class encapsulating the basic components of an OANDA forex order.

Note that a sell order is indicated by specifying negative units.


Returns the order price.

double getPrice()


Sets the take profit for this order.

See Also: TakeProfitOrder

void setTakeProfit(TakeProfitOrder takeprofit)

Find more information about Order here