//取2012年10月10日到2012年10月19日的自定义指数收益率序列
SetSysParam(pn_cycle(),cy_day());
Return UserDefineIndex(
array(
("代码":"SH000002","名称":"A股指数","比例(%)":55.00),
("代码":"SZ399106","名称":"深证综合","比例(%)":35.00),
("代码":"无风险年利率(%)","名称":"","比例(%)":10.00)),
inttodate(20121010),inttodate(20121019),2,False);
//结果: