Package | Description |
---|---|
com.dukascopy.api | |
com.dukascopy.api.system |
Modifier and Type | Method and Description |
---|---|
IOrder |
IHistory.getHistoricalOrderById(java.lang.String id)
Returns historical (closed) order by position id for the given user account.
|
IOrder |
ISignal.getOrder() |
IOrder |
IMessage.getOrder()
Returns
IOrder linked with this message or null if there is no related order |
IOrder |
IEngine.getOrder(java.lang.String label)
Returns order by label, or null if no order was found
|
IOrder |
IEngine.getOrderById(java.lang.String orderId)
Returns order in
IOrder.State.CREATED , IOrder.State.OPENED and IOrder.State.FILLED state by id, or null if no order was found |
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.util.Collection<IOrder> orders)
Merges positions.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
IOrder... orders)
Merges positions.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.lang.String comment,
java.util.Collection<IOrder> orders)
Merges positions.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.lang.String comment,
IOrder... orders)
Merges positions.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount,
double price)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice,
long goodTillTime)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
IFinancialInstrument financialInstrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice,
long goodTillTime,
java.lang.String comment)
Deprecated.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount)
Submits new order.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount,
double price)
Submits new order.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage)
Submits new order.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice)
Submits new order.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice,
long goodTillTime)
Submits new order.
|
IOrder |
IEngine.submitOrder(java.lang.String label,
Instrument instrument,
IEngine.OrderCommand orderCommand,
double amount,
double price,
double slippage,
double stopLossPrice,
double takeProfitPrice,
long goodTillTime,
java.lang.String comment)
Submits new order.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IOrder> |
ISignal.getOldOrders() |
java.util.List<IOrder> |
IHistory.getOpenOrders(IFinancialInstrument financialInstrument,
long from,
long to)
Deprecated.
|
java.util.List<IOrder> |
IHistory.getOpenOrders(Instrument instrument,
long from,
long to)
Returns open orders for specified instrument and time interval.
|
java.util.List<IOrder> |
IEngine.getOrders()
|
java.util.List<IOrder> |
IEngine.getOrders(IFinancialInstrument financialInstrument)
Deprecated.
|
java.util.List<IOrder> |
IEngine.getOrders(Instrument instrument)
Returns list of orders in
IOrder.State.CREATED , IOrder.State.OPENED and IOrder.State.FILLED state for
specified instrument |
java.util.List<IOrder> |
IHistory.getOrdersHistory(IFinancialInstrument financialInstrument,
long from,
long to)
Deprecated.
|
java.util.List<IOrder> |
IHistory.getOrdersHistory(Instrument instrument,
long from,
long to)
Returns orders for specified instrument and time interval.
|
Modifier and Type | Method and Description |
---|---|
void |
IEngine.closeOrders(IOrder... orders)
Mass close.
|
boolean |
IOrder.compare(IOrder order)
Deprecated.
use
Object.equals(Object) |
void |
IOrder.groupToOco(IOrder second)
Adds this order with specified second order to One Cancels the Other group.
|
void |
IEngine.mergeOrders(IOrder... orders)
Deprecated.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
IOrder... orders)
Merges positions.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.lang.String comment,
IOrder... orders)
Merges positions.
|
void |
OrdersLoadingListener.newOrder(IFinancialInstrument financialInstrument,
IOrder orderData)
Deprecated.
|
void |
LoadingOrdersListener.newOrder(Instrument instrument,
IOrder orderData) |
Modifier and Type | Method and Description |
---|---|
void |
IEngine.closeOrders(java.util.Collection<IOrder> orders)
Mass close.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.util.Collection<IOrder> orders)
Merges positions.
|
IOrder |
IEngine.mergeOrders(java.lang.String label,
java.lang.String comment,
java.util.Collection<IOrder> orders)
Merges positions.
|
Modifier and Type | Method and Description |
---|---|
IOrder[] |
ITesterEvent.getOrdersMerged() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IOrder> |
ITesterReportData.getClosedOrders()
Returns list of orders that were closed when the strategy stopped.
|
java.util.List<IOrder> |
ITesterReportData.getClosedOrders(IFinancialInstrument financialInstrument)
Deprecated.
|
java.util.List<IOrder> |
ITesterReportData.getClosedOrders(Instrument instr)
Returns list of orders that were closed when the strategy stopped.
|
java.util.List<IOrder> |
ITesterReportData.getOpenOrders()
Returns list of orders that were open when the strategy stopped.
|
java.util.List<IOrder> |
ITesterReportData.getOpenOrders(IFinancialInstrument financialInstrument)
Deprecated.
|
java.util.List<IOrder> |
ITesterReportData.getOpenOrders(Instrument instr)
Returns list of orders that were open when the strategy stopped.
|
Copyright © 2024. All rights reserved.