MT4 REST web sockets

easy direct connection to any MT4 and MT5 server

MT4 REST web sockets

Sockets are ready:

http://a.mtapi.su/index.html

After login:

http://a.mtapi.su/mt4/New?user=500398373&password=qax2pwq&host=mt4-demo.roboforex.com&port=443

You can use our simple web socket client:

http://a.mtapi.su/static/EventsTest.html?id=1

Or connect with your own client to:

ws://a.mtapi.su/mt4/events?id=1

This WebSocket only receives events and doesn't accept commands.This WebSocket receives all events and doesn't accept commands, just keep it con nected while you need any events. All events goes here.

To subscribe symbol please use restful method and use /events to get result:

http://a.mtapi.su/mt4/Subscribe?id=1&symbol=EURUSD

Or request price history to get result with /events:

http://a.mtapi.su/mt4/RequestQuoteHistory?id=1&symbol=EURUSD&timeframe=60&from=2021-12-01T00%3A00%3A00&count=10

Leave a Reply