This commit is contained in:
dceoy
2026-06-11 10:33:27 +00:00
parent 2722447ae6
commit b0be48c9ba
12 changed files with 3882 additions and 2527 deletions
+4
View File
@@ -54,6 +54,10 @@
<a href="/dceoy/mt5cli/api/sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="/dceoy/mt5cli/api/trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="/dceoy/mt5cli/api/history/" class="dropdown-item">History Collection (SQLite)</a>
</li>
+4
View File
@@ -54,6 +54,10 @@
<a href="../sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="../trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="../history/" class="dropdown-item">History Collection (SQLite)</a>
</li>
+5 -1
View File
@@ -54,6 +54,10 @@
<a href="../sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="../trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="./" class="dropdown-item active" aria-current="page">History Collection (SQLite)</a>
</li>
@@ -72,7 +76,7 @@
</a>
</li>
<li class="nav-item">
<a rel="prev" href="../sdk/" class="nav-link">
<a rel="prev" href="../trading/" class="nav-link">
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
+8 -1
View File
@@ -54,6 +54,10 @@
<a href="sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="history/" class="dropdown-item">History Collection (SQLite)</a>
</li>
@@ -146,6 +150,8 @@
<p>Utility module providing constants, enums, Click parameter types, and helper functions for parsing and exporting data.</p>
<h3 id="sdk"><a href="sdk/">SDK</a><a class="headerlink" href="#sdk" title="Permanent link">&para;</a></h3>
<p>Programmatic SDK for read-only MetaTrader 5 data collection. Returns pandas DataFrames and provides <code>collect_history</code> for SQLite bulk collection.</p>
<h3 id="trading"><a href="trading/">Trading</a><a class="headerlink" href="#trading" title="Permanent link">&para;</a></h3>
<p>Trading-capable session management and operational helpers built on <code>pdmt5.Mt5TradingClient</code>. Complements the read-only SDK without changing existing <code>Mt5CliClient</code> behavior.</p>
<h3 id="history-collection-sqlite"><a href="history/">History Collection (SQLite)</a><a class="headerlink" href="#history-collection-sqlite" title="Permanent link">&para;</a></h3>
<p>SQLite storage helpers for the <code>collect-history</code> command schema, incremental updates, deduplication, indexes, and optional views.</p>
<h2 id="architecture-overview">Architecture Overview<a class="headerlink" href="#architecture-overview" title="Permanent link">&para;</a></h2>
@@ -153,8 +159,9 @@
<ol>
<li><strong>CLI Layer</strong> (<code>cli.py</code>): Typer application with subcommands that delegate to the SDK and export results.</li>
<li><strong>SDK Layer</strong> (<code>sdk.py</code>): Read-only data access functions, <code>Mt5CliClient</code>, and <code>collect_history</code> orchestration.</li>
<li><strong>Trading Layer</strong> (<code>trading.py</code>): Trading-capable sessions and operational helpers on <code>Mt5TradingClient</code>.</li>
<li><strong>Utils Layer</strong> (<code>utils.py</code>): Constants, enums, custom Click parameter types, parsing helpers, and format detection/export utilities.</li>
<li><strong>Data Layer</strong> (via <code>pdmt5</code>): Uses <code>Mt5DataClient</code> and <code>Mt5Config</code> from the pdmt5 package for all MetaTrader 5 data access.</li>
<li><strong>Data Layer</strong> (via <code>pdmt5</code>): Uses <code>Mt5DataClient</code>, <code>Mt5TradingClient</code>, and <code>Mt5Config</code> from the pdmt5 package for MetaTrader 5 access.</li>
</ol>
<h2 id="usage-guidelines">Usage Guidelines<a class="headerlink" href="#usage-guidelines" title="Permanent link">&para;</a></h2>
<p>All modules follow these conventions:</p>
+2589 -2517
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+4
View File
@@ -54,6 +54,10 @@
<a href="../sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="../trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="../history/" class="dropdown-item">History Collection (SQLite)</a>
</li>
+5 -1
View File
@@ -54,6 +54,10 @@
<a href="api/sdk/" class="dropdown-item">SDK</a>
</li>
<li>
<a href="api/trading/" class="dropdown-item">Trading</a>
</li>
<li>
<a href="api/history/" class="dropdown-item">History Collection (SQLite)</a>
</li>
@@ -614,5 +618,5 @@
<!--
MkDocs version : 1.6.1
Build Date UTC : 2026-06-10 17:31:23.504923+00:00
Build Date UTC : 2026-06-11 10:33:21.201317+00:00
-->
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long
+10 -6
View File
@@ -2,26 +2,30 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://github.com/dceoy/mt5cli/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/cli/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/history/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/sdk/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/trading/</loc>
<lastmod>2026-06-11</lastmod>
</url>
<url>
<loc>https://github.com/dceoy/mt5cli/api/utils/</loc>
<lastmod>2026-06-10</lastmod>
<lastmod>2026-06-11</lastmod>
</url>
</urlset>
BIN
View File
Binary file not shown.