Get Authorized Trading Accounts
GET/api/v1.0/accounts/authorized_trd_accsQuery the authorized trading accounts of uid.
Request Parameters
None.
Response Parameters
| Field | Type | Description |
|---|---|---|
accounts | list[Account] | A list of authorized trading accounts. |
Account Structure
See Naming Dictionary > Account.
| Field | Type | Description |
|---|---|---|
account_id | string | Trading business account ID |
security_firm | SecurityFirm | Broker information |
enable_market | list[int] | Supported trading markets. See Naming Dictionary |
univs_account_card_number | string | Universal account card number (16 digits) |
acc_type | string | Account type: cash (cash account) / margin (margin account) |
account_card_number | string | Business account card number (16 digits) |
Response Example
json
{
"s": "ok",
"d": {
"accounts": [
{
"account_id": "1234567890123456",
"security_firm": "FUTUINC",
"enable_market": [
2
],
"univs_account_card_number": "1234567890123456",
"acc_type": "margin",
"account_card_number": "1234567890123456"
}
]
}
}Error Response:
json
{
"s": "error",
"errcode": -1200,
"errmsg": "Error message."
}