📝 docs(tsl): complete and lint codegen reference

This commit is contained in:
csh
2026-07-07 16:46:51 +08:00
parent 16e0992dd2
commit bbf6977f57
232 changed files with 39191 additions and 29763 deletions
@@ -1,6 +1,6 @@
# 算法交易 / 交易指令
### `ttCancelWt(h, entrust_id, batch_flag, timeout, comment, _async)`
## `TT_CancelWT(h, entrust_id, batch_flag, timeout, comment, _async)`
撤单接口。
@@ -11,11 +11,11 @@
| `batch_flag` | any | 整数,委托批号,输入;;(描述EntrustID参数输入的是委托号或委托批号。0-委托号,1-委托批号。以具体的柜台约定为准) |
| `timeout` | any | 整数,超时(单位毫秒),输入; |
| `comment` | string | 字符串,可选参数,说明信息,输入;(可以为每笔操作添加描述信息,以便区分每笔交易) |
| `_async` | any | 整数,可选参数,委托模式,输入;(0--同步模式、1--异步模式) |
| `_async` | any | 整数,可选参数,委托模式,输入;(0--同步模式、1--异步模式) |
返回:array
### `ttMultiWt(h, order_str, batch_no, timeout)`
## `TT_MultiWT(h, order_str, batch_no, timeout)`
批量委托接口。
@@ -28,7 +28,7 @@
返回:array
### `ttUserLogin(gate_way, account_type, account_id, account_pwd, timeout, errmsg)`
## `TT_UserLogin(gate_way, account_type, account_id, account_pwd, timeout, errmsg)`
交易账户登入接口。
@@ -43,7 +43,7 @@
返回:any
### `ttUserLogout(h, timeout)`
## `TT_UserLogout(h, timeout)`
交易账户注销接口。
@@ -54,7 +54,7 @@
返回:array
### `ttWt(h, bs, stk_id, price, vol, timeout, comment, _async)`
## `TT_WT(h, bs, stk_id, price, vol, timeout, comment, _async)`
委托接口。
@@ -67,6 +67,6 @@
| `vol` | any | 整数,委托数量,输入; |
| `timeout` | any | 整数,超时(单位毫秒),输入; |
| `comment` | string | 字符串,可选参数,说明信息,输入;(可以为每笔操作添加描述信息,以便区分每笔交易) |
| `_async` | any | 整数,可选参数,委托模式,输入;(0--同步模式、1--异步模式) |
| `_async` | any | 整数,可选参数,委托模式,输入;(0--同步模式、1--异步模式) |
返回:array