I was wondering why there is no IOrder.setLabel(String)
Is there a way to achieve this for an existing order? Is there a reason why the label field is immutable in this way?
IOrder mergeOrders(String label,
Collection<IOrder> orders)
throws JFException
I know that this might be possible through the above merge, where the orders collection contains the single order which is to be given the new label. (I haven't attempted this.) Not sure whether a merge operation is possible with only a single order, but that could achieve a change of the label field to a new label String value. Would that be a way to achieve the effect? (Doesn't matter to me if the orderID changes.)
My Strategy might want to take control of an existing order, and change its label field to an alternate label.
Is this possible, or can it be achieved with a single order through some operation, such as the IEngine merge function?
If there is no real reason why IOrder.setLabel(String) couldn't exist, could you please implement it?
Thanks for considering this request.
HyperScalper