Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
2.3 KiB
2.3 KiB
期货 / 指定日
futuresMtpGetData(future_id, end_t, _type)
结算会员成交持仓排名相关数据。如果返回array(),说明无相关数据。
| 参数 | 类型 | 说明 |
|---|---|---|
future_id |
string | 字符串。期货代码 |
end_t |
datetime | 日期。截止日期 |
_type |
int | 用户自定义。排名类型,取值如下: |
返回:array
futuresMtpGetDataQj(future_id, begt, end_t, rank_type)
结算会员成交持仓排名相关数据。如果返回array(),说明无相关数据。
| 参数 | 类型 | 说明 |
|---|---|---|
future_id |
string | 字符串。期货代码 |
begt |
datetime | 日期。开始日期 |
end_t |
datetime | 日期。截止日期 |
rank_type |
int | 用户自定义。排名类型,取值如下: |
返回:array
futuresMtpNoNVolValue(future_id, end_t, top_n, field, rank_type)
指定日第N名机构成交量相关数据。如果返回0,说明无相关数据。
| 参数 | 类型 | 说明 |
|---|---|---|
future_id |
string | 字符串。期货代码 |
end_t |
datetime | 日期。截止日期 |
top_n |
int | 整数。第N名 |
field |
string | 字符串。列名 |
rank_type |
int | 用户自定义。排名类型,取值如下: |
返回:float
futuresMtpSumNVolValue(future_id, end_t, top_n, field, rank_type)
指定日前N名机构成交量相关数据。如果返回0,说明无相关数据
| 参数 | 类型 | 说明 |
|---|---|---|
future_id |
string | 字符串。期货代码 |
end_t |
datetime | 日期。截止日期 |
top_n |
int | 整数。前N名 |
field |
string | 字符串。列名 |
rank_type |
int | 用户自定义。排名类型,取值如下: |
返回:float