[求助]關(guān)于order.TradeDetalied2函數(shù)的使用
作者:金字塔 來(lái)源:cxh99.com 發(fā)布時(shí)間:2014年03月20日
- 咨詢內(nèi)容:
order.TradeDetalied2(2,Date3,Code3,Market3,OrderType3,Action3,Price3,Volume3,Kaiping3,Account3
運(yùn)行報(bào)錯(cuò),見(jiàn)附件
此主題相關(guān)圖片如下:22222.jpg
- 金字塔客服:
CALL order.TradeDetalied2(2,Date3,Code3,Market3,OrderType3,Action3,Price3,Volume3,Kaiping3,Account3
[此貼子已經(jīng)被作者于2014/2/27 16:08:11編輯過(guò)]
- 用戶回復(fù):
現(xiàn)在取到的成交量volume3,都是0,這是為什么呢。。。
- 網(wǎng)友回復(fù):
你完整代碼怎么寫(xiě)的貼一下
- 網(wǎng)友回復(fù):
call order.TradeDetalied2 (CJnum+newtrade,Date3,Code3,Market3,OrderType3,Action3,Price3,Volume3,Kaiping3,MyAccount) '取成交明細(xì)
set Report1 = marketdata.GetReportData(Code3,Market3) '取買(mǎi)一賣(mài)一價(jià)格
buy1= Report1.BuyPrice1
sell1=Report1.SellPrice1
application.MsgOut("時(shí)間="&t1&" 合約="&Code3&" 買(mǎi)賣(mài)="&Action3&" 開(kāi)平="&Kaiping3&" 數(shù)量="&Volume3&" 成交價(jià)="&Price3&" 買(mǎi)一價(jià)="&buy1&" 賣(mài)一價(jià)="&sell1)