I have found some useful information in creating custom buttons in the Chart Trader panel etc and have successfully created a button to Flatten a position, however when creating a new button to manage existing orders i run into difficulty and does not work the same way. Is it possible to manage orders using ChangeOrder() the same way as im using CancelOrder() and submitOrderUnmanaged(Market)?
The below example simply does not work in the same way? What am i doing wrong here?
protected void Button1Click(object sender, RoutedEventArgs e) { ChangeOrder(Stoploss, Position.Quantity, 0, Low[1])); }
Comment