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