> ## Documentation Index
> Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Key 权限设置

创建 API Key 时，可选择以下权限：

<Frame>
  <img src="https://mintcdn.com/bitmart/Tco3oiQMGR5GewZq/images/key-permission.png?fit=max&auto=format&n=Tco3oiQMGR5GewZq&q=85&s=64e34701b0cd66ce05ee097f9d714fdd" alt="API Key 权限设置" width="2218" height="1544" data-path="images/key-permission.png" />
</Frame>

| 权限       | 说明                 |
| -------- | ------------------ |
| **只读**   | 查询订单、仓位、账户余额及行情数据  |
| **合约交易** | 下单、撤单、管理仓位（开多、平空等） |

<Note>
  新创建的 API Key 默认权限为**只读**。
</Note>

#### 只读权限范围

只读权限可使用以下接口：

| 接口     | 鉴权类型   | 说明             |
| ------ | ------ | -------------- |
| 查询订单   | SIGNED | 根据订单 ID 查询单笔订单 |
| 查询当前委托 | SIGNED | 查询所有未成交订单      |
| 查询历史订单 | SIGNED | 查询历史成交记录       |
| 查询仓位   | SIGNED | 查询当前持仓信息       |
| 查询账户资产 | SIGNED | 查询账户余额         |
| 查询划转记录 | SIGNED | 查询资金划转历史       |

#### 合约交易权限范围

合约交易权限包含只读权限的所有功能，另外支持：

* 提交订单（限价、市价）
* 撤销订单（单笔、批量、全部）
* 提交和管理计划委托（止损、止盈止损、追踪委托）
* 调整杠杆和持仓模式
* 资金划转
