Order Interface

com.oanda.fxtrade.api

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.

getPrice

Returns the order price.

double getPrice()

setTakeProfit

Sets the take profit for this order.

See Also: TakeProfitOrder

void setTakeProfit(TakeProfitOrder takeprofit)

Find more information about Order here