mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-20 19:33:39 +08:00
refactor: move bundled skills tree to repo root skills/
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills with fallback to legacy runtime/skills for unmigrated trees. - session-bootstrap hook handler resolves repo root via PROJECT_ROOT. - Update architecture/migration docs and in-tree skill references. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
396dba76ea
commit
beb52006d8
298 changed files with 51 additions and 51 deletions
|
|
@ -1,131 +0,0 @@
|
|||
# 每日停复牌信息
|
||||
|
||||
**文档ID**: 214
|
||||
**原始链接**: https://tushare.pro/document/2?doc_id=214
|
||||
|
||||
---
|
||||
|
||||
## 每日停复牌信息
|
||||
|
||||
接口:suspend_d更新时间:不定期描述:按日期方式获取股票每日停复牌信息
|
||||
|
||||
输入参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>必选</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>ts_code</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>股票代码(可输入多值)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>trade_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>交易日日期</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>start_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>停复牌查询开始日期</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>end_date</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>停复牌查询结束日期</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>suspend_type</td>
|
||||
<td>str</td>
|
||||
<td>N</td>
|
||||
<td>停复牌类型:S-停牌,R-复牌</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
输出参数
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>名称</th>
|
||||
<th>类型</th>
|
||||
<th>默认显示</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr>
|
||||
<td>ts_code</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>TS代码</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>trade_date</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>停复牌日期</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>suspend_timing</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>日内停牌时间段</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>suspend_type</td>
|
||||
<td>str</td>
|
||||
<td>Y</td>
|
||||
<td>停复牌类型:S-停牌,R-复牌</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
接口用法
|
||||
|
||||
```
|
||||
|
||||
pro = ts.pro_api()
|
||||
|
||||
#提取2020-03-12的停牌股票
|
||||
df = pro.suspend_d(suspend_type='S', trade_date='20200312')
|
||||
|
||||
```
|
||||
|
||||
数据样例
|
||||
|
||||
```
|
||||
ts_code suspend_type trade_date suspend_timing
|
||||
0 000029.SZ S 20200312 None
|
||||
1 000502.SZ S 20200312 None
|
||||
2 000939.SZ S 20200312 None
|
||||
3 000977.SZ S 20200312 None
|
||||
4 000995.SZ S 20200312 None
|
||||
5 002260.SZ S 20200312 None
|
||||
6 002450.SZ S 20200312 None
|
||||
7 002604.SZ S 20200312 None
|
||||
8 300028.SZ S 20200312 None
|
||||
9 300104.SZ S 20200312 None
|
||||
10 300216.SZ S 20200312 None
|
||||
11 300592.SZ S 20200312 None
|
||||
12 300819.SZ S 20200312 09:30-10:00
|
||||
13 300821.SZ S 20200312 09:30-10:00
|
||||
14 600074.SH S 20200312 None
|
||||
15 600145.SH S 20200312 None
|
||||
16 600228.SH S 20200312 None
|
||||
17 600310.SH S 20200312 None
|
||||
18 600610.SH S 20200312 None
|
||||
19 600745.SH S 20200312 None
|
||||
20 600766.SH S 20200312 None
|
||||
21 600891.SH S 20200312 None
|
||||
22 601127.SH S 20200312 None
|
||||
23 601162.SH S 20200312 None
|
||||
24 603002.SH S 20200312 None
|
||||
25 603399.SH S 20200312 None
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue