Websocket implementation

 

Hello,

I would like to implement Websockets in an EA. I have reviewed the following library https://github.com/krisn/lws2mql but I have not compiled.

What would be the solution to get the signals from a website as quickly as possible?

If you can not use WebSocket, what do you think about using WebRequest with a 1 second interval?


Thanks!

 

Hello, 


it's been a while since you asked the question wrt the websocket implementation here.

Since i recently got the same issue and failed to compile the library .. just wanted to ask if you have been able to resolve the issue.


Thanks,

Tom

 
You can try other simple TCP implementation for client server communication.
 
https://www.mql5.com/en/search#!keyword=websocket&page=1
You can find ready websocket library now.
For MT4 and MT5

PM me if you need support
Search - MQL5.community
Search - MQL5.community
  • www.mql5.com
Searching is based on morphology and is insensitive to case. All letters, no matter of their case, will be processed as lowercase. By default, our search engine shows pages, that...