普通委托(entrust_enter) 在线调试
支持委托下单、委托改单。
网关地址
沙箱环境调用地址: | https://sandbox.hscloud.cn |
数据核查类生产调用地址: | https://api.hscloud.cn |
仿真业务接口生产调用地址: | https://vopen.hscloud.cn |
其余生产调用地址: | https://open.hscloud.cn |
URL
https://sandbox.hscloud.cn/secu/v1/entrust_enter |
---|
是否需要业务登录
是 |
---|
HTTP请求方式
GET,POST |
---|
请求参数
参数名 | 类型 | 必填 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|---|
exchange_type | String | 是 | 4 | 交易类别 | 【限制字典子项:2-深圳 |
|
stock_account | String | 否 | 11 | 证券账号 |
当前市场的主证券账户
|
|
stock_code | String | 是 | 16 | 证券代码 | ||
entrust_amount | Integer | 是 | 10 | 委托数量 | ||
entrust_price | Float | 是 | 11.4 | 委托价格 | ||
entrust_bs | String | 是 | 1 | 买卖方向 | ||
entrust_prop | String | 是 | 3 | 委托属性 | 【限制字典子项:T-即时成交剩余撤销 |
返回参数
参数名 | 类型 | 最大长度 | 默认值 | 中文名 | 描述 |
---|---|---|---|---|---|
entrust_no | Integer | 8 | 委托编号 |
|
正确返回示例
{ "data": [ { "entrust_no": "9" } ] }