vba中金仕達(dá)如何取品種持倉 用什么涵數(shù) [金字塔]
- 咨詢內(nèi)容: vba中ctp取品種持倉用HoldingInfoByCode2 那金仕達(dá)的咋辦? 這個對象我試了下 取不到。怎么辦
- 金字塔客服:
金仕達(dá)跟CTP一樣的,貼代碼上來看看
- 用戶回復(fù):
dim BuyHolding
dim BuyCost
dim SellHolding
dim SellCostCall Order.HoldingInfoByCode2(shili_report1.text,shili_report2.text,BuyHolding,BuyCost,BuyTodayHolding,SellHolding,SellCost,SellTodayHolding,PNL,UseMargin,sAccount)
iBuyHold=BuyHolding
iSellHold=SellHolding
BuyPrice=BuyCost
SellPrice=SellCost
call application.MsgOut(ibuyhold)那看來是我又犯了什么錯誤了
我是輸出該該持倉品種買入持倉總量 手工下了1手單 調(diào)試msgout出0
[此貼子已經(jīng)被作者于2012-8-29 15:10:05編輯過] - 網(wǎng)友回復(fù):
難道手工下單不頂用 要程序下單?應(yīng)該不是這個問題吧
- 網(wǎng)友回復(fù):
不管你什么方式下單的,有持倉就會返回的。
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容