Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/financial/futures-futures_margin.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

1.3 KiB

金融 / 期货 / 期货保证金

futuresMaintenanceMarginRate(end_t, margin_rate_type)

声明:function

期货结算保证金率(%),取自期货结算参数(表704)中小于或等于EndT的最后一条数据,与系统证券pn_stock()有关

参数 类型 说明
end_t datetime 日期,截止日
margin_rate_type int 整数,保证金率类型

返回:float

示例

范例01:调用函数

setsysparam(pn_stock(), "cu1404");
return FuturesMaintenanceMarginRate(inttodate(20140331), 0);

futuresTradingMarginRate(end_t, margin_rate_type)

声明:function

期货交易保证金率(%),取自期货结算参数(表704)中小于或等于EndT-1的最后一条数据,与系统证券pn_stock()有关

参数 类型 说明
end_t datetime 日期,截止日
margin_rate_type int 整数,保证金率类型

返回:float

示例

范例01:调用函数

setsysparam(pn_stock(), "cu1404");
return FuturesTradingMarginRate(inttodate(20140331), 0);