Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/financial/warrant-pricing.md
T
csh 9010829c6d feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references.

Keep the existing generated index without rebuilding after signature normalization.
2026-08-10 18:26:24 +08:00

131 lines
3.0 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.
# 金融 / 权证 / 定价
## `warrantBenchClose(endt)`
声明:function
标的收盘价,与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------ |
| `endt` | datetime | 指定日 |
返回:float
## `warrantBenchId()`
声明:function
标的代码
返回:string
## `warrantBenchVolatility(endt)`
声明:function
标的证券年波动率(%),标的证券去年到今年截止日(刚好一年)的指定日波动率(%),周期为日线。与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------ |
| `endt` | datetime | 指定日 |
返回:float
## `warrantDurationDay(end_t)`
声明:function
剩余存续期限(天),即当前日与行权截止日之间相距的天数
| 参数 | 类型 | 说明 |
| ------- | --------- | ------------------ |
| `end_t` | date_time | 日期类型,截止日期 |
返回:real
## `warrantDurationMonth(end_t)`
声明:function
剩余存续期限(月),即当前日与行权截止日之间相距的月数
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------------ |
| `end_t` | datetime | 日期类型,截止日期 |
返回:float
## `warrantGearing(end_t)`
声明:function
杠杆倍数,标的证券价格/(权证价格/行权比例),与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------ |
| `end_t` | datetime | 日期,截止日 |
返回:float
## `warrantNZjz(end_t)`
声明:function
内在价值,与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------------ |
| `end_t` | datetime | 日期类型,截止日期 |
返回:float
## `warrantPriceByBS(end_t)`
声明:function
B-S理论价值,若权证性质为认购,则返回0,若权证性质为认沽,则返回1。与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------ |
| `end_t` | datetime | 日期,截止日 |
返回:bool
## `warrantSJJZ(end_t)`
声明:function
时间价值,即权证价格 - 内在价值,与系统证券pn_stock()有关
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------------ |
| `end_t` | datetime | 日期类型,截止日期 |
返回:float
## `warrantYHBDL(end_t, rf)`
声明:function
隐含波动率(%),利用权证性质认沽、标的收盘、权证行权价、无风险收益率(%)、权证现价和剩余存续期限来求出隐含波动率(%)
| 参数 | 类型 | 说明 |
| ------- | -------- | ----------------- |
| `end_t` | datetime | 日期,截止日期 |
| `rf` | float | 无风险收益率(% |
返回:float
## `warrantYJL(end_t)`
声明:function
溢价率(%)
| 参数 | 类型 | 说明 |
| ------- | -------- | ------------------ |
| `end_t` | datetime | 日期类型,截止日期 |
返回:float