create_asset
Create an asset by providing a code, optional title, and optional asset class to define tradeable instruments for order validation.
Instructions
Create an asset with a code, an optional title and the optional code of an existing asset class. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Asset code | |
| title | No | Asset title; omitted leaves the asset untitled | |
| assetClass | No | Code of an existing asset class; omitted leaves the asset unclassified |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes |