set_trading_instrument
Defines a trading connection's external symbol mapping to Officer base/quote assets, controlling what can be sent and fee booking; protected and disabled by default.
Instructions
Set a trading instrument mapping. The change is refused with loosening_refused, as a mapping decides what can be sent and which asset a venue fee is booked in. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Required: whether the instrument mapping is enabled | |
| baseAsset | Yes | Officer asset being bought or sold | |
| connection | Yes | Trading connection id | |
| quoteAsset | Yes | Officer asset used for pricing | |
| externalSymbol | Yes | Provider's venue symbol |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Required: whether the instrument mapping is enabled | |
| baseAsset | Yes | Officer asset being bought or sold | |
| connection | Yes | Trading connection id | |
| quoteAsset | Yes | Officer asset used for pricing | |
| externalSymbol | Yes | Provider's venue symbol |