FuturesWarehouseRatio2
简述
与系统参数(期货品种代码、时间)相关
1、当Warehouse为仓库名、Region为空时,为指定仓库占该品种仓单总量比(%);
2、当Warehouse为空、Region为地区名时,为上期所-指定地区占该品种仓单总量比(%);
3、当Warehouse为仓库名、Region为地区名时,为上期所-指定地区指定仓库占该品种仓单总量
比(%),
4、算法:指定仓库(地区)仓单/该品种仓单总量*100%
FuturesWarehouseRatio2(Warehouse:String;Region:String):real
名称 | 类型 | 说明 |
---|
Warehouse | String | 仓库名 |
Region | String | 地区名 |
返回 | real | 实数 |
//返回截止日为20200518,仓库国储天威关于SN(锡)的仓单变比(%)
SetSysParam(pn_stock(),'sn');
SetSysParam(pn_date(),20200518T);
return FuturesWarehouseRatio2("国储天威");