tymorapro wrote:
Having to figure out when to use close() and/or setRequestedAmount is tricky
Regarding canceling order,
IOrder.setRequestedAmount(0) is just an alternative to
IOrder.close(). Hence, there is not much to figure out - simply use
IOrder.close(). Please refer to the diagram:
https://www.dukascopy.com/wiki/#Order_state/Conditional_order_states_diagramtymorapro wrote:
potential overlooked threading issues in the JForex API
Please elaborate.