Sign inSign up

timurila/mt5mng-rest

By timurila

•Updated about 1 month ago

Image
0

2.0K

timurila/mt5mng-rest repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:fcaf4c735…

Size

928.8 MB

Last updated

about 1 month ago

docker pull timurila/mt5mng-rest