logout
Terminate the trading session for a user by providing their user ID. This revokes access to the trading system.
Instructions
Logout from the trading system.
Args: user_id: User account ID
Returns: Logout confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Response message or error description | |
| success | Yes | Whether the operation succeeded | |
| order_id | No | Order ID if successful |