GetReportData如果參數(shù)是一個(gè)不存在的合約,后面再調(diào)用會(huì)出錯(cuò),請(qǐng)問如何該判斷? [金字塔]
- 咨詢內(nèi)容:
application.MsgOut("測(cè)試:"&isnull(Rpt))application.MsgOut("測(cè)試:"&isempty(Rpt))
Set Rpt = Marketdata.GetReportData("RU02","SQ")application.MsgOut("測(cè)試:"&isnull(Rpt))application.MsgOut("測(cè)試:"&isempty(Rpt))
iVol = Rpt.Volume
如何判斷是否正確取到reportdata? 輸出看isnull,isempty都判斷不了
- 金字塔客服:
http://www.weistock.com/bbs/dispbbs.asp?BoardID=5&ID=96645&skin=0
這里有范例
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容