1
0
Fork 0
Commit-Graph

99 Commits

Autor SHA1 Nachricht Datum
copilot-swe-agent[bot]
ab7ca21ed0 Fix code review feedback: update deprecated datetime and path handling
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-17 11:01:45 +00:00
copilot-swe-agent[bot]
771436fe30 Add integration tests for repository sync manager
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-17 10:59:25 +00:00
copilot-swe-agent[bot]
77cb62d1d2 Add repository sync with L6-N9 and REST API integration
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-17 10:58:11 +00:00
copilot-swe-agent[bot]
bbe508679f Clarify Python version requirements and improve error handling
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:30:52 +00:00
copilot-swe-agent[bot]
a5bdcfd068 Improve batch file Python detection logic and standardize errorlevel checks
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:29:47 +00:00
copilot-swe-agent[bot]
b31bff535e Fix errorlevel checks in startup.bat for correct Python detection
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:28:58 +00:00
copilot-swe-agent[bot]
c24679a99e Add Windows Store Python detection to startup scripts
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:26:37 +00:00
google-labs-jules[bot]
7b4aff66d1 feat: install Gemini CLI and integrate into setup scripts 2026-02-13 03:50:20 +00:00
google-labs-jules[bot]
5a00caed73 feat(perf): Pre-compile Jinja2 template in web dashboard
Extracts the dashboard HTML string into a global constant and compiles it
using Jinja2 only once (lazily) instead of re-parsing the string on every
request. This improves response latency for the dashboard.

- Extracted `DASHBOARD_HTML` constant
- Implemented `DASHBOARD_TEMPLATE` lazy compilation
- Replaced `render_template_string` with `DASHBOARD_TEMPLATE.render()`
- Verified with `scripts/test_web_dashboard.py`
2026-02-12 05:13:07 +00:00
copilot-swe-agent[bot]
f99eccf302 Address code review: optimize ArraySize() calls and document cache behavior
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-11 08:36:56 +00:00
copilot-swe-agent[bot]
cc1902d657 Optimize performance: Fix MQL5 double-loop, add early-exit, improve Python efficiency
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-11 08:35:24 +00:00
GenX FX Trading System
7652d395e9
Merge branch 'copilot/install-juless-cli' into copilotmql5-production-readiness-8b65 2026-02-10 13:16:23 +07:00
GenX FX Trading System
ef9024666b
Merge branch 'copilot/install-juless-cli' into sentinel-add-security-headers-5685093013646614500 2026-02-10 13:15:51 +07:00
GenX FX Trading System
f4f49b73c2
Merge branch 'copilot/install-juless-cli' into copilot/improve-variable-function-names 2026-02-10 13:14:45 +07:00
GenX FX Trading System
8d93944c4b
Merge branch 'copilot/install-juless-cli' into mql5-ea-container-ci-cd-8529191303412997988 2026-02-10 12:54:46 +07:00
GenX FX Trading System
d1fecabbe7
Merge branch 'copilot/install-juless-cli' into sentinel-add-security-headers-5685093013646614500 2026-02-10 12:51:07 +07:00
GenX FX Trading System
b3484473c9
Merge branch 'copilot/install-juless-cli' into copilotmql5-production-readiness-8b65 2026-02-10 12:50:30 +07:00
GenX FX Trading System
e7087c37d7
Merge branch 'copilot/install-juless-cli' into copilot/add-echo-and-hello-window 2026-02-10 12:49:16 +07:00
google-labs-jules[bot]
cf1b95ec8a feat(scripts): parallelize AI requests in upgrade_repo.py
- Replaced sequential execution of `ask_gemini` and `ask_jules` with `concurrent.futures.ThreadPoolExecutor`.
- Reduced total execution time by running independent network-bound tasks in parallel.
- Added necessary import for `concurrent.futures`.

 Bolt: Parallelize AI requests (~2x speedup)
2026-02-10 05:36:36 +00:00
Cursor Agent
f3ea60475b Security: remove leaked tokens and add secret scan
Co-authored-by: GenX FX Trading System <Mouy-leng@users.noreply.github.com>
2026-02-10 04:38:19 +00:00
google-labs-jules[bot]
5f27eafb6f feat: implement unified MQL5 EA containerized deployment and CI/CD 2026-02-09 16:19:26 +00:00
google-labs-jules[bot]
0b8a09a572 Add security headers to web dashboard (CSP, HSTS, X-Frame-Options)
- Implemented `@app.after_request` in `scripts/web_dashboard.py` to inject security headers.
- Added `Content-Security-Policy` with `default-src 'self'`, blocking inline scripts.
- Added `X-Content-Type-Options: nosniff`.
- Added `X-Frame-Options: SAMEORIGIN`.
- Added `Referrer-Policy: strict-origin-when-cross-origin`.
- Added unit test `test_security_headers` to `scripts/test_web_dashboard.py` to verify header presence.
- Mitigates Stored XSS, Clickjacking, and MIME sniffing risks.
2026-02-09 11:27:48 +00:00
copilot-swe-agent[bot]
b8cf76aac5 Improve variable and function naming for clarity
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-09 05:12:51 +00:00
copilot-swe-agent[bot]
70608d418d Add echo and hello window functionality
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-09 05:08:59 +00:00
google-labs-jules[bot]
1b82a2865d Optimize branch analysis in PR review script
- Modified `scripts/review_pull_requests.py` to filter `git for-each-ref` output by unmerged branches.
- Reduces algorithmic complexity from O(N) to O(M) where N is total branches and M is active branches.
- Avoids expensive `ahead-behind` calculations for potentially thousands of stale merged branches.
2026-02-09 05:06:55 +00:00
google-labs-jules[bot]
643c712228 docs: update VPS and terminal configuration metadata 2026-02-09 01:03:32 +00:00
GenX FX Trading System
aa6632ee80
Merge branch 'copilot/install-juless-cli' into bolt-optimize-git-review-rev-list-count-10239882398315046114 2026-02-09 07:18:44 +07:00
google-labs-jules[bot]
151f18724c Optimize market data processing loop and fix logic error 2026-02-08 20:49:39 +00:00
google-labs-jules[bot]
644c00e696 🎨 Palette: Add skip-to-content link for accessibility 2026-02-08 11:20:56 +00:00
google-labs-jules[bot]
92e5a0540b perf: optimize PR review script using git rev-list
- Replaced O(N) `git log` parsing with O(1) `git rev-list --count` for branch commit counts.
- Updated `get_all_branch_details` to return an empty `commits` list to ensure consistent data structure with `get_branch_info`, preventing potential runtime errors.
- Changed base branch reference from `main` to `origin/main` to support CI/CD environments and shallow clones where local `main` might be missing.
- Removed unused `commits` list generation in `get_branch_info` to improve fallback performance.
2026-02-08 05:36:14 +00:00
copilot-swe-agent[bot]
e1d193b6f9 Security fix: Replace real credentials with placeholders in docs and examples
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-08 04:15:17 +00:00
copilot-swe-agent[bot]
7c55d36653 Update Telegram bot defaults and webhook configuration
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-08 04:12:44 +00:00
google-labs-jules[bot]
9b6778cba0 Fix CRITICAL authorization bypass in Telegram Bot
- Changed `check_authorized` in `scripts/telegram_deploy_bot.py` to fail closed (deny all) if `TELEGRAM_ALLOWED_USER_IDS` is unset or empty.
- Updated `scripts/TELEGRAM_BOT_SETUP.md` and `QUICK_DEPLOY.md` to document that `TELEGRAM_ALLOWED_USER_IDS` is now mandatory for bot access.
- Added Sentinel Journal entry in `.jules/sentinel.md` documenting the vulnerability and learning.
- Verified fix with reproduction script.
2026-02-07 11:33:43 +00:00
Copilot
3ae9f3f7e7
Add release management infrastructure and automation (#255)
* Initial plan

* Add release infrastructure: CHANGELOG, workflow, and documentation

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>

* Add release checklist and VERSION file

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>

* Fix variable assignment in release preparation script

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>

* Add release quick reference and update documentation

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>

* Add comprehensive release preparation summary

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>

* Add task completion summary

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-05 02:53:31 +07:00
google-labs-jules[bot]
71982b145b feat: launch to metatrader vps Singapore 10
- Updated all references from Singapore 09 to Singapore 10 across documentation and scripts.
- Updated dates and timestamps to reflect the current migration date (February 4, 2026).
- Added migration details to VPS_SETUP_NOTES.md.
- Verified repository consistency and ran validation tests.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-04 07:59:55 +00:00
copilot-swe-agent[bot]
719513590f Add PWA documentation and validation script
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-01 19:20:28 +00:00
google-labs-jules[bot]
6a038d53e0 Setup schedule for Gemini and Jules research with NotebookLM context
- Updated `docs/NOTEBOOK_LM_CONTEXT.txt` with user-provided NotebookLM URL and context directives.
- Enhanced `scripts/market_research.py` and `scripts/upgrade_repo.py`:
  - Added proper Jules integration using the REST API structure `{"model": ..., "prompt": ...}` to match MQL5 implementation.
  - Added warning suppression for deprecated `google.generativeai` warnings.
  - Added robustness checks for API keys.
- Enhanced `scripts/schedule_research.py` with file logging (`logs/scheduler.log`) and next-run prediction.
2026-01-28 20:07:51 +00:00
google-labs-jules[bot]
7f5c705c00 feat: Add scalping strategy support for M5, M15, M30
- Implements `CPositionManager` class in `ManagePositions.mqh` for robust Trailing Stop and Break Even logic.
- Updates `SMC_TrendBreakout_MTF_EA.mq5` to use `CPositionManager` and exposes Scalping inputs.
- Adds preset files for M5, M15, M30 scalping in `mt5/MQL5/Presets/`.
- Documents strategy parameters in `docs/SCALPING_STRATEGY.md`.
- Adds `scripts/research_scalping.py` utility.
2026-01-28 18:14:03 +00:00
GenX FX Trading System
0fe9db8276
Merge pull request #218 from A6-9V/bolt-perf-runner-setup-8300516273090358873
 Bolt: CI Runner Setup & MQL5 Performance Optimization
2026-01-29 00:20:28 +07:00
google-labs-jules[bot]
6529deda2a bolt: setup forge runner and optimize mql5 performance
- Added `scripts/setup_forge_runner.sh` for automated Gitea runner registration.
- Optimized `SMC_TrendBreakout_MTF.mq5` by replacing manual loops with native `ArrayMaximum`/`ArrayMinimum`.
- Optimized `SMC_TrendBreakout_MTF_EA.mq5`:
    - Replaced `CopyTime` with `iTime` for faster bar checks.
    - Replaced non-existent `iDonchian` handle with standard MQL5 price range logic using `CopyHigh`/`CopyLow`.
    - Removed redundant code and handles in `OnInit`/`OnDeinit`.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-28 16:31:18 +00:00
GenX FX Trading System
25210cb93a
Merge pull request #203 from A6-9V/perf-telegram-bot-async-subprocess-7777137281643102778
 Optimize Telegram Bot Deployment with Asyncio Subprocess
2026-01-28 22:54:19 +07:00
google-labs-jules[bot]
ea261ed334 Merge feature branch, cleanup dependencies, and sanitize credentials
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-28 10:24:13 +00:00
google-labs-jules[bot]
36f6846358 Bolt: Lazy load heavy dependencies in market_research.py
- Moved `yfinance` and `pandas` imports inside `get_market_data`
- Moved `google.generativeai` import inside `analyze_with_gemini`
- Reduces startup time when these libraries are not immediately needed (e.g. missing API keys or dry runs)
- Keeps fallback simulation logic intact

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-28 05:32:18 +00:00
GenX FX Trading System
8d4ecd4b84
Merge pull request #205 from A6-9V/optimize-market-research-10141970005764280165
 Optimize market_research.py with yf.download
2026-01-28 11:58:19 +07:00
GenX FX Trading System
083ea5b15d
Merge pull request #206 from A6-9V/bolt-optimize-pr-review-calls-8757165414626091425
 Optimize git calls in PR review script
2026-01-28 11:57:45 +07:00
google-labs-jules[bot]
3c60a83185 Setup Research Schedule and Improvements
- Updated `scripts/market_research.py` to provide helpful hints on Jules NameResolutionError.
- Updated `docs/USER_NOTES.md` to document the schedule setup and current API status.
- Created `docs/upgrade_suggestions.md` to establish the upgrade context (NotebookLM) and track pending analysis.
- Verified scheduler execution (PID running).
- Note: Gemini API is currently rate-limited (429) and Jules API endpoint requires verification.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 20:07:35 +00:00
google-labs-jules[bot]
fc5646a73c Refactor review_pull_requests.py to batch git calls
Replaced per-branch git log calls with a single git for-each-ref command using the ahead-behind atom. This optimizes the script from O(N) to O(1) git subprocess calls.

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 01:10:00 +00:00
google-labs-jules[bot]
8d572816b7 Optimize market_research.py with yf.download
- Replaced sequential loop with batch fetch (~3x speedup)
- Cleaned up unused imports
- Verified with benchmark script

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 01:00:42 +00:00
google-labs-jules[bot]
be4268a251 Optimize telegram_deploy_bot to use asyncio subprocesses
Replaced blocking `subprocess.run` calls with `asyncio.create_subprocess_exec` to ensure the Telegram bot event loop remains responsive during long-running deployment tasks.

Key changes:
- Switched to `asyncio.create_subprocess_exec` for command execution.
- implemented `asyncio.wait_for` to handle the 300s timeout.
- Added explicit process cleanup (kill/wait) on timeout.
- Manually decoded stdout/stderr since async subprocesses return bytes.

Verified with a reproduction script showing the event loop gap dropped from ~2.0s (blocking) to ~0.1s (non-blocking).

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-27 00:57:34 +00:00
google-labs-jules[bot]
85174d9a2b Bolt: Optimize market data fetching with bulk download
- Replaced sequential `yf.Ticker` loop with `yf.download`
- Added logic to handle MultiIndex DataFrame
- Reduced fetch time from ~0.86s to ~0.33s
2026-01-26 05:13:57 +00:00