OptionInfoUnitDeposit
简述
指定期权指定日单位保证金,与系统参数(证券代码)相关。
1)如果指定日有期权基本信息,返回单位保证金
2)如果指定日没有期权基本信息,返回0。
OptionInfoUnitDeposit(EndT:Date):Real
名称 | 类型 | 说明 |
---|
EndT | Date | 日期类型,截止日期 |
返回 | Real | 实数,返回期权指定日单位保证金 |
// "OP10004233"在2022-6-27的单位保证金
SetSysParam(pn_stock(),"OP10004233");
return OptionInfoUnitDeposit(20220627T); //结果:15425.6