✨ feat(skills): add tsl api reference skill
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.
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
# 股票 / 募集资金
|
||||
|
||||
### `stockCmAmount(beg_t, end_t)`
|
||||
|
||||
区间募集资金和(万)。 (1)募集资金和=IPO募集资金+配股募集资金+增发募集资金; (2)所有类型募集的资金,均取自开始日到截止日之间的数据; (3)函数与当前的股票相关。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | ---------------- |
|
||||
| `beg_t` | datetime | 实数,开始日期; |
|
||||
| `end_t` | datetime | 实数,截止日期; |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
BegT:=Inttodate(20110101);
|
||||
EndT:=Inttodate(20111231);
|
||||
R:= StockCMAmount(BegT,EndT);
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockCmAmount2()`
|
||||
|
||||
上市以来募集资金和(万)。 (1)募集资金和=IPO募集资金+配股募集资金+增发募集资金; (2)上市以来募集资金和,自上市日到当前时间的数据; (3)函数与当前的股票相关。
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
R:= StockCMAmount2();
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockDistributionCmAmount(beg_t, end_t)`
|
||||
|
||||
区间股票配股筹资总额(万)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | -------------- |
|
||||
| `beg_t` | datetime | 实数,开始日期 |
|
||||
| `end_t` | datetime | 实数,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
BegT:=Inttodate(20110101);
|
||||
EndT:=Inttodate(20111231);
|
||||
R:= StockDistributionCMAmount (BegT,EndT);
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockDistributionCmAmount2()`
|
||||
|
||||
上市以来配股筹资总额(万)
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
R:= StockDistributionCMAmount2 ();
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockIssueCmAmount(beg_t, end_t)`
|
||||
|
||||
时间段内,股票发行筹资总额(万)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | ---------------- |
|
||||
| `beg_t` | datetime | 实数,开始日期; |
|
||||
| `end_t` | datetime | 实数,截止日期; |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
BegT:=Inttodate(20110101);
|
||||
EndT:=Inttodate(20111231);
|
||||
R:= StockIssueCMAmount (BegT,EndT);
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockMoreIssueCmAmount(beg_t, end_t)`
|
||||
|
||||
时间段内,股票增发筹资总额(万)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | ---------------- |
|
||||
| `beg_t` | datetime | 实数,开始日期; |
|
||||
| `end_t` | datetime | 实数,截止日期; |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
BegT:=Inttodate(20110101);
|
||||
EndT:=Inttodate(20111231);
|
||||
R:= StockMoreIssueCMAmount (BegT,EndT);
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
|
||||
### `stockMoreIssueCmAmount2()`
|
||||
|
||||
上市以来股票增发筹资总额(万)。
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
ov:=BackUpSystemParameters();
|
||||
SetSysParam(pn_stock(),"SH600005");
|
||||
R:= StockMoreIssueCMAmount2 ();
|
||||
RestoreSystemParameters(ov);
|
||||
Return R;
|
||||
```
|
||||
Reference in New Issue
Block a user