統計套利怎么用如下方程去實現
作者:金字塔 來源:cxh99.com 發布時間:2015年10月14日
- 咨詢內容:
我想問下如果我要用統計套利的話,例如建立如下方程
infd1:stkindi('if00','close',0,6,-1);
shd1:stkindi('hs300','close',0,6,-1);
esti=-0.344*infd1+0.66*shd1
應該怎么去實現?
- 金字塔客服:
infd1:callstock('if00',vtclose,6,-1);
shd1:callstock('hs300',vtclose,6,-1);
esti:=-0.344*infd1+0.66*shd1;