✨ feat(tsl-api-reference): expand API and module coverage
This commit is contained in:
+29
@@ -287,6 +287,35 @@ setsysparam(pn_date(), 20201020.2300T);
|
||||
return StockOpenSpanTrading();
|
||||
```
|
||||
|
||||
## `stockTradeDateByEndT(include_call_auction)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回系统参数指定证券在指定日期的交易开始时间和截止时间
|
||||
|
||||
<!-- tags: 金融 股票 证券交易时间 交易时段 开盘 收盘 集合竞价 trading session hours -->
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------------------- | ------- | ------------------------------ |
|
||||
| `include_call_auction` | integer | 是否包含集合竞价时段,取值见下 |
|
||||
|
||||
include_call_auction 取值
|
||||
|
||||
- `0` — 不包含集合竞价时段
|
||||
- `1` — 包含集合竞价时段
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:查询指定期货合约的完整交易时段
|
||||
|
||||
```tsl
|
||||
setSysParam(pn_stock(), "a2107");
|
||||
setSysParam(pn_date(), 20210513T);
|
||||
return stockTradeDateByEndT(1);
|
||||
```
|
||||
|
||||
## `stocktradingnumberchange()`
|
||||
|
||||
声明:function
|
||||
|
||||
Reference in New Issue
Block a user