get_connection_status
Check current connection and authentication status to ensure you are properly connected to the CTBC Securities trading API.
Instructions
Get current connection and authentication status.
Returns: Current connection status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Current logged-in user ID | |
| connected | No | Whether connected to trading server | |
| logged_in | No | Whether user is logged in | |
| initialized | No | Whether Init() has been called | |
| account_count | No | Number of available accounts | |
| trade_das_url | No | Trading DAS server URL |