期货交易账号查询(tradeaccount_qry) 在线调试
期货交易账号查询
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/futu/v1/tradeaccount_qry |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
request_num | Integer | 否 | 10 | 请求行数 | ||
position_str | String | 否 | 100 | 定位串 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
futu_exch_type | String | 4 | 交易类别 | ||
futures_account | String | 12 | 交易编码 |
|
|
futuacct_status | String | 1 | 期货账号状态 |
|
|
futuacct_restricts | String | 32 | 期货账号限制 |
|
|
main_flag | String | 1 | 主账标志 | ||
position_str | String | 100 | 定位串 |
|
正确返回示例
{ "data": [ { "main_flag": "1", "futuacct_type": "0", "futuacct_rights": "12", "futures_account": "80003989", "futu_exch_type": "F1", "futuaccount_status": "0", "futures_rights": "12", "futuacct_restricts": " ", "futuacct_status": "0", "futures_type": "0", "futures_restricts": " " }, { "main_flag": "1", "futuacct_type": "0", "futuacct_rights": "128", "futures_account": "80003990", "futu_exch_type": "F2", "futuaccount_status": "0", "futures_rights": "128", "futuacct_restricts": " ", "futuacct_status": "0", "futures_type": "0", "futures_restricts": " " } ] }