No description
  • Python 54.7%
  • JavaScript 25.2%
  • HTML 13.7%
  • CSS 6.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yuriy Bykov 4a55946f8a Add deploy_service.py to automate service redeployment
Wraps the manual steps we kept redoing after every schema/service
change: sync each terminal's Shared Projects copy via git, compile the
service, and drop config/services.ini into place.

Per-terminal headless MetaEditor compilation proved unreliable in
testing - it can exit 0 without producing a log or touching the .ex5,
seemingly needing an interactive desktop session. The script compiles
once against the repo's own working tree instead and copies the
resulting .ex5 to the other terminals, verifying success by checking
the file's mtime actually changed rather than trusting the exit code.
2026-07-27 15:22:37 +03:00
docs Document config/services.ini service autostart workaround 2026-07-27 13:07:03 +03:00
static Document config/services.ini service autostart workaround 2026-07-27 13:07:03 +03:00
templates Fix layout 2026-01-14 08:46:02 +03:00
.gitignore Add time and margin to terminal card 2025-10-30 22:41:27 +03:00
config.json Draft version 2026-07-25 20:52:51 +03:00
config.py Draft version 2026-07-25 20:52:51 +03:00
deploy_service.py Add deploy_service.py to automate service redeployment 2026-07-27 15:22:37 +03:00
extracticon.py Add account info, BEP, start/stop icons 2025-10-24 02:13:35 +03:00
LICENSE Initial commit 2025-10-04 08:21:12 +00:00
main.py Fix FastAPI/Starlette compatibility errors in main.py 2026-07-27 13:17:22 +03:00
mt5_control.py Log unexpected errors in read_state instead of swallowing them 2026-07-27 13:41:03 +03:00
README.md Update README 2025-11-20 09:46:27 +03:00
run.py Add comments 2025-11-20 14:02:48 +03:00
ServiceStateWriter.mq5 Draft version 2026-07-25 20:52:51 +03:00

MT5 Manager

Установка

1. Клонируйте репозиторий

Перейдите в папку, выбранную для размещения исходного кода проекта. Клонируйте туда репозиторий проекта:

git clone https://forge.mql5.io/antekov/mt5-manager.git
cd mt5-manager

2. Установите зависимости

Проект использует дополнительные модули Python, которые необходимо предварительно установить:

pip install fastapi uvicorn jinja2 psutil pydantic_settings MetaTrader5

Пока что можно использовать Pyhton с версией не выше 3.12 из-за модуля MetaTrader5

3. Запустите приложение

python run.py --config-file=config.json --host=0.0.0.0 --port=8000

Можно указать свои значения параметров config-file, host и port или запустить без параметров:

python run.py

Установленное по умолчанию значение --host=0.0.0.0 делает доступным обращение к приложению по любому IP-адресу, который имеет компьютер, где произведён запуск. Для доступа извне надо обеспечить доступность обращения по внешнему IP к выбранному порту (8000 по умолчанию).

4. Откройте в браузере

Для доступа с локального компьютера (сервера) используйте адрес http://127.0.0.1:8000 при настройках по умолчанию.

Для доступа с другого компьютера используйте IP-адрес сервера и выбранный порт.

MQL5 Algo Forge / antekov