金字塔委托系統(tǒng) [金字塔]
- 咨詢內(nèi)容:
請(qǐng)問order對(duì)象 好象不支持 取 金字塔 帳戶中的資金量和持倉量?我用的是 holdinginfo2方法
- 金字塔客服:
持倉量 用HoldingInfoByCode2 方法
資金量 用Account 方法
[此貼子已經(jīng)被作者于2012-1-16 14:10:21編輯過] - 用戶回復(fù):
holdinginfobycode2 好象沒法取到持倉數(shù)據(jù)啊
- 網(wǎng)友回復(fù):
你是怎么用的啊,發(fā)出來看看
- 網(wǎng)友回復(fù):
result= Order.HoldingInfoByCode2("IF01","ZJ",BuyHoding,BuyCost,BuyTodayHoding,SellHoding,SellCost,SellTodayHoding,PNL,UseMargin,"")
application.MsgOut result&sellhoding&selltodayhoding
第一句是直接抄幫助文件里的語句的
輸出結(jié)果是 "000"
我有if01持倉2手,是金字塔的模擬帳戶
相關(guān)文章
-
沒有相關(guān)內(nèi)容