客服热线:18391752892
当前位置: 首页 » 外汇EA商城 » 智能交易 »在MetaTrader市场购买MetaTrader 5的'Easy websocket library for mql5' 交易程序库

在MetaTrader市场购买MetaTrader 5的'Easy websocket library for mql5' 交易程序库

品牌:
顺水的鱼外汇EA
起批 1-30000件 30001件以上
价格 3988.00 10.00
评分:
人气( 372 )  共有 0 条评价 ( 销量:0件 )

手机扫购有惊喜
物流:
:3988.00  
数量:
   
(当前库存 888888 件)
  • 收藏商品(0)
  • 告诉好友
  • 举 报
  • 顺水的鱼外汇EA

    发 货 地:
    默认地区
    全网同类推荐
    • ¥1100.00
    • ¥3988.00
    • ¥3988.00
    • ¥3988.00
    • ¥3988.00
    • ¥3988.00

    店长精品橱窗推荐

    本店商品分类

    • -暂无分类

    本店商品排行

    • 概述
    • 评论
    • 评论 (1)

    Easy websocket library for mql5

    An easy to use websocket library for MQL5. It supports:

    • ws:// and wss:// (secure websocket)
    • text and binary data
    • automatic ping-pong handling on protocol level
      (keep-alive protocol hand shake)
    • automatic fragmented message handling on protocol level
      (large data transfer enabled)

    ==================================================
    ATTENTION: 
    PLEASE ConTACT SELLER BEFORE PURCHASE.
    Due to the nature of this kind of library, 

    FULL FEATURE DEMO VERSION CAN BE PROVIDED ON REQUEST
    ==================================================


    This library requires:

    Win64 OpenSSL v1.1.1d

    and MSVC 14 runtime 

    which can be downloaded for free.


    Sample code is as simple as following:

    #include <wsmql.mqh>
    
    
    void OnStart()
      {
       // ATTENTION: library initialization must be executed first
       wsInit();
    
       string url = "www.bitmex.com:443/realtime";
       string msg = "{ "op": "subscribe", "args" : ["orderBookL2_25:XBTUSD"] }";
    
       WSSHANDLE handle = wsConnect(url);
    
       int len;
       string resp;
       char recv_buffer[];
       ArrayResize(recv_buffer, 65536);
    
       if(handle!=0)
         {
          Sleep(1000);
          char buffer[];
          StringToCharArray(msg, buffer);
    
          wsSendBinary(handle, buffer, ArraySize(buffer)-1);
    
          int counter = 1;
          StringReserve(resp, 65536);
    
          while(!IsStopped())
            {
             len = 65535;
             counter = wsReceiveBinary(handle, recv_buffer, len);
             if(counter >= 0)
               {
                string r = CharArrayToString(recv_buffer,0, len);
                PrintFormat("+++ %d: %d [%s]", counter, len, r);
               }
             Sleep(100);
            }
          PrintFormat("*** disconnect");
          Sleep(1000);
          wsDisconnect(handle);
         }
       PrintFormat("*** DONE");
      }
    


    API provided:

    • Connection:
      • WSSHANDLE wsConnect(string wssURL)
      • void wsDisconnect(WSSHANDLE handle)
    • Text send and receive:
      • int wsReceive(WSSHANDLE handle, string& buffer, int limit)
      • int wsSend(WSSHANDLE handle, string buffer)
    • Binary send and receive:
      • int wsReceiveBinary(WSSHANDLE handle, char& buffer[], int& limit)
      • int wsSendBinary(WSSHANDLE handle, char& buffer[], int limit)
    • Status:
      • int wsReceived(WSSHANDLE handle)
      • int wsIsConnected(WSSHANDLE handle)
    Feel free to contact me for support and other options available.
    ta itemprop="image" content="https://c.mql5.com/31/376/easy-websocket-library-for-mql5-screen-7251.png" />

    因厂家更改商品包装、场地、附配件等不做提前通知,且每位咨询者购买、提问时间等不同。为此,客服给到的回复仅对提问者3天内有效,其他网友仅供参考!给您带来的不变还请谅解,谢谢!

     
    • 18391752892

      网站客服

      法定工作日

      8:30-17:30

    • 了解更多外汇信息

      微信扫描关注

    • 用户反馈