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

區分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  有需要幫忙請點擊這里留言!!!進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 四虎永久精品免费网址大全| 奇米影视7777狠狠狠狠影视| 亚洲人成网站色7799| 疯狂做受xxxx高潮视频免费| 国产一区二区三区在线观看免费 | 最近最新中文字幕完整版免费高清| 人妻中文字幕无码专区| 精品无码久久久久久久久久 | 亚洲国产精品ⅴa在线观看 | 国产热の有码热の无码视频| 91制片厂制作果冻传媒168| 天天摸天天做天天爽| 一本色道久久综合网| 新婚熄与翁公李钰雯| 久久久精品人妻无码专区不卡| 日韩精品一区二区三区中文精品| 亚洲一级免费毛片| 欧美大片va欧美在线播放| 亚洲精品nv久久久久久久久久 | а√天堂中文最新版地址| 成人毛片免费观看视频在线 | 爱情岛论坛亚洲高品质| 免费观看成人羞羞视频软件| 美女羞羞视频网站| 国产caowo13在线观看一女4男| 香蕉久久久久久AV成人| 国产成人免费A在线视频| 激情网站免费看| 国产漂亮白嫩的美女| 亚洲综合15p| 国产福利影院在线观看| jizz黄色片| 国产精品久久自在自线观看| 67194线路1(点击进入)手机版| 国产视频第一页| 91香蕉视频下载导航| 国模大胆一区二区三区| 97久久精品午夜一区二区| 国模丽丽啪啪一区二区| 97人人添人澡人人爽超碰| 国语对白做受xxxx|