update_deal
Update an existing deal by passing only the fields you want to change. Provide the deal ID, type, and a non-empty settings object.
Instructions
Update an existing deal. Pass only the fields you want to change. Settings object must be non-empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealType | Yes | Deal type | |
| dealId | Yes | Deal identifier. Accepts EITHER the deal's 24-character hex MongoDB ObjectId (e.g. "65f000000000000000000001") OR the deal's UUID. Either form resolves to the same deal — use whichever the deal record exposes. Get both from list_deals (the `_id` and `uuid` fields). | |
| paperContext | No | Paper trading context (true = paper, false = real). Default: false | |
| settings | Yes | Settings object with fields to update. Only include changed fields. |