Files
playbook/skills/tsl-api-reference/references/data_dictionary/股票__转融券余量.md
T

44 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 天软数据字典 / 股票 / 转融券余量
类型:table
## 表信息
| 项目 | 内容 |
| -------- | ------------------------ |
| 表名 | 股票.转融券余量 |
| 表 ID | 153 |
| 提取方式 | Infoarray |
| 访问代码 | 股票代码,比如:SH600000 |
| 范围 | stock |
## 字段
| 字段 ID | 字段名 | 类型 | 中文名 | 单位 | 说明 | 对应 API |
| ------- | ------ | ------- | ------ | ---- | ------- | -------- |
| 153001 | 截止日 | Integer | 截止日 | | | |
| 153002 | 余量 | Integer | 余量 | 股 | 【注1】 | |
| 153003 | 余额 | Float | 余额 | 元 | | |
## 数据说明
- 该表记录股票转融券余量数据,包括各个证券融出未偿还的余量、余额。自2024年7月11日起,证金公司暂停了转融券相关业务,数据影响参考FAQ:
- Q2024-07-10日证监会暂停转融券业务对数据的影响
-
- 1、数据开始时间:2013-02-28
- 2、数据更新频率:每日,于每日(T日)09:45更新上一交易日(T-1日)的数据。
## 取数示例
范例01:取SH600000浦发银行在2021年7月所有交易日的转融券余量
```tsl
// 取SH600000浦发银行在2021年7月所有交易日的转融券余量
return select *
from infotable 153
of "SH600000"
where ["截止日"]>=20210701
and ["截止日"]<=20210731
end;
```