I couldn´t find which is the correct command to remove or delete limit-orders for the instrument from within a script. With "Position.Close()" the limitorders persist in orderstab (and on exchange I assume) and with ..Gui...FlattenEverything() it would work but all other trades and orders of other instruments would be flattened as well. This is not the intention.
Thank you
Tony
Comment