timurila/mt5mng-rest

By timurila

Updated 14 days ago

Image
0

77

Manager RESTful API for MT5 Servers

Full functional trial version for 14 days. More details and full version available at:

Installation

docker pull mtapiio/mt5mng
docker run --rm -p 5000:80 mtapiio/mt5mng

After that open in browser: http://localhost:5000

Connect to MT5 Server

To establish connection with MT5 Server use Connect endpoint. It requires broker host, port, mt4 account number and password.

https://mt5mng.mtapi.io/Connect?user=999943&password=eanm3xtd&server=20.4.28.127

It returns token that you need to use as 'id' parameter in further requests to server.

Trading

To send different types of orders use OrderSend endpoint.

Realtime quotes with websockets

Simple Web Socket test client for chrome browser: https://chrome.google.com/webstore/detail/websocket-test-client/fgponpodhbmadfljofbimhhlengambbn

  • Call /Subscribe method

  • Quotes should start to flow in websocket test client

Docker Pull Command

docker pull timurila/mt5mng-rest