# Change Order

This command will change the parameters of a pending, unfilled order and requires an `order_id` value, optional price and quantity value, and an optional `strategy_id` value.&#x20;

The `order_id` value must match either the order ID value given to an order placed through the PLACE command.

Pass in zero values (or omit) for price and quantity if you do not wish to change these order parameters. Price values must be in US decimal format (1212.25 is correct while 1212,25 is not).

{% hint style="info" %}
The *only values* that can be changed in the order are `qty`, `limit_price`, or `stop_price`. This is a limitation of how the NT8 change order system works internally.
{% endhint %}

### Advanced Usage

An order name such as ENTRY\*, EXIT\*, STOP\*, SIMSTOP\* or TARGET\* can optionally be set as the `order_id` value. The star (\*) represents an integer value, e.g., TARGET1 or TARGET2. Order names are only valid if a `strategy_id` value is passed.&#x20;

### Example Payload

```
key=your-secret-key;
command=change;
qty=1; (optional)
limit_price=XXX; (optional)
stop_price=XXX; (optional)
order_id=your-order-id;
strategy_id=your-strategy-id; (optional)
```
