持倉
作者:金字塔 來源:cxh99.com 發(fā)布時(shí)間:2016年08月19日
- 咨詢內(nèi)容:
老師好,請問,平倉手?jǐn)?shù),我想留一手,其它全平,怎么寫,
- 金字塔客服:
sell(1,holding-1,market);
平倉留一手
- 用戶回復(fù):
如果 holding=1呢,1-1等于0了。為全不了。。。。
- 網(wǎng)友回復(fù):
sell(1,max(1,holding-1),market);
- 網(wǎng)友回復(fù):
max(1,holding-1),如果holding=2,,,怎么取呀,,,