initialize
Set up the CTS Trading API by providing a Trade DAS server endpoint, then receive success status and error details.
Instructions
Initialize the CTS Trading API with server configuration.
Args: trade_das_url: Trading DAS server endpoint (e.g., "apsit.ectest.ctbcsec.com/tradedas")
Returns: Initialization result with success status and error details
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trade_das_url": "<trade_das_url>"
},
"name": "initialize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trade_das_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether initialization succeeded | |
| error_code | No | Error code | |
| error_message | No | Error message if failed |