Commit graph mt5-manager/docs
Author SHA1 Message Date
97a0ec37d4 Prepare article part 4 for publication
Article:
- rename the deployment section to "Развёртывание через config/services.ini"
- keep only first-level sections in the table of contents, drop the
  archive entry
- add the warning block and the archive table in the series format
- rename screenshots to meaningful English names

Publishing helpers (docs/publish):
- build_article_html.py builds the HTML fragment for the site editor with
  anchored headings, linked table of contents, captions and code blocks
- code/ holds each code block as a separate file, description.txt the
  short description

Code:
- static/script.js: bump version to 0.3.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 23:43:05 +03:00
dbed2c48f9 Edit article part 4, add testing section and screenshots
Article:
- edit all sections, shorten schema drift story,
  drop the useful-links and warning sections, keep first-level TOC only
- add "Тестирование" with three 750 px screenshots (docs/images)
- add "Содержание архива" with file versions

Code:
- ServiceStateWriter.mq5: use TERMINAL_DATA_PATH (portable-only), replace
  ExecutePragma() with DatabaseExecute(), use built-in
  ERR_DATABASE_NO_MORE_DATA, align comments with the article
- deploy_service.py: skip compilation when .ex5 is newer than the source
- bump versions: main.py 0.3.0, config.py 0.2.0, static/script.js 0.2.0

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:19:21 +03:00
788b0fe807 Edit article intro, update Python note
Rewrite the introduction, main loop, and the opening sections so they
no longer repeat each other, add a "Намечаем путь" plan section, and
rebuild the table of contents. Add docs/style-notes.md with the style
guidelines derived from the author's published articles.

The MetaTrader5 module now ships wheels for Python 3.14 (verified:
import, initialize and account reads work on 3.12 and 3.14); there are
none for 3.15 yet. Update the Python version note in the article,
README and notes accordingly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:19:21 +03:00
8d92ae4f46 Align article listings with actual code
Reorder states columns to match ServiceStateWriter.mq5, add the
ResetLastError() call to the transaction snippet, and qualify the
Shared Projects claim as specific to this setup.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 15:03:32 +03:00
1ef2dd8839 Finish article part 4: schema drift bug and deploy script
Add the schema-drift story (CREATE TABLE IF NOT EXISTS is not a
migration, swallowed OperationalError hid it) to the first-run section,
update the read_state snippet, and describe deploy_service.py including
the unreliable headless MetaEditor compile. Update plans and notes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 15:00:10 +03:00
82a79d9b45 Document config/services.ini service autostart workaround
Add static/services.ini as a reference example, and update both the
article draft and working notes with the discovery: placing this file
in the terminal installation's config folder auto-registers the
compiled service, removing the manual Navigator step. Note explicitly
that the file is undocumented (UTF-16LE, absent from the official
config file listing) and likely the terminal's own internal
serialization of Navigator-added services.
2026-07-27 13:07:03 +03:00
3211b2c2eb Expand article draft with MQL5 docs on services
Add a section explaining services as an MQL5 program type (single
OnStart handler, no chart binding, per-instance thread, survives
account switches) and a section on the stop grace period, tying the
documented 3-second IsStopped() timeout to the service's jittered
Sleep(). Cite official docs for DatabaseBind indexing, transaction
speedup, and DATABASE_OPEN_COMMON; add a references section.
2026-07-27 12:51:56 +03:00
ab5af0bf82 Fixes
Код для /create пока тоже просто игнорируем, дойдем до него в пятой части цикла

Код в 56-58 main.py убираем, так как эта информация будет получена главной страницей через ajax-запросы

Формат времени везде сделаем в секундах, нам не нужна милисекундная точность
2026-07-27 12:34:18 +03:00
40c947fed8 Add draft for Article 4 2026-07-27 12:32:10 +03:00
4e17cd52f0 Draft version 2026-07-25 20:52:51 +03:00
acbebe6f9a Add service file and notes 2026-07-25 19:24:56 +03:00