ReferencesAdd OnAccount ClassChange()Ask a question|Copy page|View as Markdown|More actionsDefinition Changes specified Order object(s). Syntax Change(IEnumerable\<order\> orders) Parameters ParameterDescriptionordersOrder(s) to change Examples 1// Example code2Order stopOrder;3stopOrder.StopPriceChanged = stopOrder.StopPrice - 4 * stopOrder.Instrument.MasterInstrument.TickSize;45private void OnExecutionUpdate(object sender, ExecutionEventArgs e)6{7 // Change the stop order if an execution results in a long position8 if(e.MarketPosition == MarketPosition.Long)9 myAccount.Change(new[] { stopOrder });10}