update_asset
Change an asset's code, title, and asset class in the Pit Officer control plane, replacing or clearing stored values; code changes are refused while order limits or P&L bounds reference the asset.
Instructions
Change an asset's code, title and asset class; the title and the asset class replace the stored ones, and an omitted or empty one clears it. A code change is refused with loosening_refused while a rate-limit or order-size barrier references the asset or a Spot Funds P&L bound is denominated in it. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | New asset code; equal to asset to keep it | |
| asset | Yes | Current asset code | |
| title | No | New asset title, replacing the stored one; omitted or empty clears it | |
| assetClass | No | Code of an existing asset class, replacing the stored one; omitted or empty clears it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes |