您現在的位置:程序化交易>> 期貨公式>> 金字塔等>> 金字塔知識>>正文內容

區分reportnotify里面的reportdata [金字塔]

  • 咨詢內容:

    代碼:

    Sub UserForm1_CommandButton1_Click()
        call marketdata.RegReportNotify("cu00","sy")
        call marketdata.RegReportNotify("ag00","sy")
    End Sub
    sub marketdata_reportnotify(reportdata)
        dim newprice_cu,newprice_ag
        if reportdata.label="cu00" then
           newprice_cu=reportdata.newprice
           application.MsgOut "newprice_cu:"& newprice_cu
        else
           newprice_ag=reportdata.newprice
           application.MsgOut "newprice_ag:"& newprice_ag
        end if
    end sub


    Sub UserForm1_CommandButton2_Click()
        application.MsgOut time
        call marketdata.UnRegReportNotify("cu00","sy")
        call marketdata.UnRegReportNotify("ag00","sy")
    End Sub

     

    執行效果:

    newprice_ag:4316
    newprice_ag:4316
    newprice_ag:49560
    newprice_ag:4316
    newprice_ag:4315
    newprice_ag:49560
    newprice_ag:4315

     

    也就是說,label這個屬性并沒有起到區分兩個品種的作用。那該怎么樣才能區分呢?

     

  • 金字塔客服:

    難道你不會

    application.MsgOut reportdata.label

    這樣輸出一下標簽內容,看看金字塔是怎么樣的格式?

     

  • 用戶回復:

    是"AG00""CU00",不是"ag00""cu00"

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 1145508240  有需要幫忙請點擊這里留言!!!進行 有償 編寫!不貴!點擊查看價格!


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 久久久久香蕉视频| 午夜爽爽爽男女免费观看hd| 97色婷婷成人综合在线观看| 成人免费视频试看120秒| 久久男人av资源网站| 欧美日韩免费看| 免费人成在线观看网站视频| 美女被羞羞网站免费下载| 国产剧情精品在线| 国产精品真实对白精彩久久| 国产精品白丝喷水在线观看| 99视频精品全部在线观看| 少妇激情av一区二区| 中文字幕亚洲综合久久综合| 日韩av片无码一区二区三区不卡 | 美国毛片亚洲社区在线观看| 国产成人AV一区二区三区无码| 99re99.nat| 天堂а√8在线最新版在线| 一级性生活免费| 成年人免费小视频| 久久久久久九九精品久小说| 日韩欧美一二三| 亚洲av无码国产综合专区| 欧美性猛交xxxx| 亚洲欧洲无码一区二区三区| 渣男渣女抹胸渣男渣女| 偷偷狠狠的日日高清完整视频| 综合图区亚洲欧美另类图片 | 日韩午夜视频在线观看| 亚洲www视频| 欧美内射深插日本少妇 | 黄页网址在线观看| 国产精品午夜福利在线观看地址| 97久久天天综合色天天综合色| 天天摸日日摸狠狠添| 一二三四在线观看免费高清视频| 成人18在线观看| 一边摸一边爽一边叫床视频| 成人羞羞视频在线观看| 中文字幕人妻色偷偷久久|