就是策略的持仓,和你实际账户没有关系的。可能这里说明造成歧义了
AA:=abs(holding);if time>=150700 thenbeginsellshort(holding<0,AA,thisclose);sell(holding>0,AA,thisclose);end改写成以下,
if time>=150700 then
begin
sellshort(holding<0,holding,market);
sell(holding>0,holding,market);
end
这两种写法有什么区别呢?