feat(tsl-api-reference): add class and framework API lookup

This commit is contained in:
csh
2026-08-20 13:49:55 +08:00
parent 7233646398
commit 651c1f68d2
637 changed files with 25498 additions and 36673 deletions
@@ -1,6 +1,6 @@
# 量化交易 / 冲击成本
## `TS_ImpactCost`
## `ts_ImpactCost`
声明:class
@@ -8,7 +8,7 @@
<!-- tags: 交易成本 市场冲击 成交滑点 -->
### `fStockID`
### `FStockID`
声明:field
@@ -18,7 +18,7 @@
类型:string
### `fTradeEndT`
### `FTradeEndT`
声明:field
@@ -28,7 +28,7 @@
类型:date
### `fTradeTime`
### `FTradeTime`
声明:field
@@ -38,7 +38,7 @@
类型:real
### `fTradeVol`
### `FTradeVol`
声明:field
@@ -48,7 +48,7 @@
类型:integer
### `fSigmaN`
### `FSigmaN`
声明:field
@@ -58,7 +58,7 @@
类型:integer
### `fVolN`
### `FVolN`
声明:field
@@ -68,7 +68,7 @@
类型:integer
### `fFitN`
### `FFitN`
声明:field
@@ -78,7 +78,7 @@
类型:real
### `fFitTradeType`
### `FFitTradeType`
声明:field
@@ -88,7 +88,7 @@
类型:integer
### `fFitObjType`
### `FFitObjType`
声明:field
@@ -98,7 +98,7 @@
类型:integer
### `main()`
### `Main()`
声明:function
@@ -108,7 +108,7 @@
可见性:`public`
### `getParams_Power(stock_id, end_t)`
### `GetParams_Power(stock_id, end_t)`
声明:function
@@ -125,7 +125,7 @@
返回:array
### `getPredictData(stock_id, end_t)`
### `GetPredictData(stock_id, end_t)`
声明:function
@@ -142,7 +142,7 @@
返回:array
### `getImpactCostEstimatedValue()`
### `GetImpactCostEstimatedValue()`
声明:function
@@ -154,7 +154,7 @@
返回:real
### `getImpactCostEstimatedDetail()`
### `GetImpactCostEstimatedDetail()`
声明:function
@@ -166,7 +166,7 @@
返回:array
### `getFitParams()`
### `GetFitParams()`
声明:function
@@ -183,7 +183,7 @@
范例01:按成交量占比最大法获取单个交易日的下单交易明细
```tsl
obj := new TS_Stock_ImpactModel();
obj := new ts_Stock_ImpactModel();
ret := obj.FitImpactCostByQK_Power("SH600000", 1, 20220101T, 3);
echo toStn(ret);
return ret;