com.oanda.fxtrade.api
Interface TakeProfitOrder

All Superinterfaces:
java.lang.Cloneable, Order

public interface TakeProfitOrder
extends Order, java.lang.Cloneable

A TakeProfitOrder will close a MarketOrder when the designated market rate is reached.

Please note that setting any field other than the price field will have no effect.

See Also:
Order, MarketOrder

Method Summary
 java.lang.Object clone()
          Returns a exact copy of this TakeProfitOrder.
 java.lang.String toString()
           
 
Methods inherited from interface com.oanda.fxtrade.api.Order
getHighPriceLimit, getLowPriceLimit, getPair, getPrice, getStopLoss, getTakeProfit, getTimestamp, getTrailingStopLoss, getTransactionNumber, getUnits, setHighPriceLimit, setLowPriceLimit, setPair, setStopLoss, setTakeProfit, setTrailingStopLoss, setUnits
 

Method Detail

clone

java.lang.Object clone()
Returns a exact copy of this TakeProfitOrder.


toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 OANDA Corporation. All Rights Reserved.