Type INewsMessage.
Interface IEngine
Action Instrument IOrder. State IReportPosition. PositionType ISignal. Type JFException. ColoredElement IChartTheme. Predefined IChartTheme. StrokeElement IChartTheme.
Hugh Pearse
TextElement com. Decoration IDecoratedChartObject. Placement IOhlcChartObject. Corner com. Type OptInputParameterInfo. Type OutputParameterInfo. DrawingStyle OutputParameterInfo. Type com. Type IInstrumentGroup. Raw Blame.

Configurable ; import com. IAccount ; import com. IBar ; import com. IConsole ; import com. IContext ; import com. IEngine ; import com. OrderCommand ; import com. IHistory ; import com. IMessage ; import com.
Demo to submit order to Dukascopy JForex via sockets for forex algo trading
Type ; import com. IOrder ; import com. IStrategy ; import com. ITick ; import com.
Dukascopy - Order Management
Instrument ; import com. JFException ; import com. Period ; import java. HashSet ; import java. Subscribing instruments State of the order. Sets open price for order in IOrder. Sets amount of order in IOrder. Blocks strategy thread with exception of IStrategy. Returns creation time. This is the time when server accepted the order, not the time when it was submitted For global accounts it is always 0. After the order fill returns IEngine.
SELL otherwise. Returns original constant amount of the order. The value is set on order submit and cannot be changed later.
- Order Management.
- Java Examples for com.dukascopy.api.IEngine.OrderCommand!
- robo forex contests.
Returns amount of the order. For orders in IOrder. Filled amount can be different from requested amount partial fill. This is the price of latest close operation in case of partial close. Returns price of stop loss condition or 0 if stop loss condition is not set. Orders submitted with stop loss condition, will have this price set only after server accepts order. Returns price of take profit condition or 0 if take profit condition is not set. Orders submitted with take profit condition, will have this price set only after server accepts order. Sets stop loss price. This method will send command to the server, getStopLossPrice method will still return old value until server will accept this changes.
Sets label for entry orders. Sets take profit price. Sends a request to close the position with specified amount, price and slippage. Sends a request to fully close position by market price or cancel entry order. Return position's commission in account currency.