set_trading_connection_enabled
Enable or disable a trading connection in Pit Officer's control-plane configuration. Enabling widens order-sending permissions and may be refused.
Instructions
Enable or disable a trading connection. An enable is refused with loosening_refused, as it widens what can be sent. Mutates Officer control-plane config; protected and disabled by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Required: whether the trading connection is enabled | |
| connection | Yes | Trading connection id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Required: whether the trading connection is enabled | |
| connection | Yes | Trading connection id |