Commit graph

299 commits

Author SHA1 Message Date
GenX FX Trading System
84ee459a8a
Deleted market_snapshot.json 2026-01-29 00:45:34 +07: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
GenX FX Trading System
d6f721e48f
Merge pull request #216 from A6-9V/update-main-cleanup-1228242947904300160
Update main: Merge feature branch and cleanup
2026-01-28 22:31:23 +07:00
GenX FX Trading System
174458bc33
Merge pull request #67 from A6-9V/copilot/automate-exness-demo-session
[WIP] Automate Exness demo session with scheduling
2026-01-28 22:28:28 +07:00
GenX FX Trading System
160b27a2ec
Merge branch 'copilot/install-juless-cli' into copilot/automate-exness-demo-session 2026-01-28 22:28:20 +07:00
GenX FX Trading System
7c42980d66
Merge pull request #77 from A6-9V/copilot/na
[WIP] n/a
2026-01-28 22:27:27 +07:00
GenX FX Trading System
b2b1d07950
Merge pull request #215 from A6-9V/feature/zolo-encryption-12733766339573992207
Implement ZOLO Plugin Encryption
2026-01-28 18:34:03 +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]
3867fe3db4 Add ZOLO plugin encryption support
- Update `ZoloBridge.mqh` to support AES-256 encryption via `Zolo_Encrypt`.
- Add `ZoloEncryptionKey` input to `SMC_TrendBreakout_MTF_EA.mq5` and `EXNESS_GenX_Trader.mq5`.
- Pass encryption key to `SendSignalToBridge` function.
- Ensure backward compatibility (encryption is opt-in).

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-01-28 07:20:11 +00:00
GenX FX Trading System
0b2f967291
Merge pull request #213 from A6-9V/bolt-lazy-imports-market-research-7630162230522793782
 Bolt: Lazy load heavy dependencies in market_research.py
2026-01-28 13:30:29 +07: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
GenX FX Trading System
e4645a9560
Merge pull request #212 from A6-9V/feature/research-schedule-setup-4829634187984181460
Setup Research Schedule and Improvements
2026-01-28 11:55:26 +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
GenX FX Trading System
04b77c7590
Merge pull request #196 from A6-9V/docs-update-readme-keys-links-10133838936522458549
Update README with correct documentation, code links, and key placeholders
2026-01-26 15:19:01 +07:00
GenX FX Trading System
48b1eec482
Merge branch 'copilot/install-juless-cli' into docs-update-readme-keys-links-10133838936522458549 2026-01-26 15:18:57 +07:00
google-labs-jules[bot]
8c04780eea Update README with documentation links and key placeholders
- Added links to `docs/SETUP_AND_DEPLOY.md` and `docs/WSL_AND_VPS_DEPLOYMENT.md`.
- Added section for Shared/Default AI Keys with security placeholders.
- Added Access Code placeholder for OneDrive.
- Added NotebookLM and Cursor Connect links.
- Consolidated workspace links.
2026-01-26 06:06:23 +00:00
GenX FX Trading System
b69b566229
Merge pull request #195 from A6-9V/bolt/optimize-market-fetch-2734789889190640000
 Bolt: Optimize market data fetching with bulk download
2026-01-26 13:03:40 +07: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
GenX FX Trading System
276a84573e
Merge pull request #194 from A6-9V/setup-schedule-notebook-context-802071811168949308
Setup schedule and integrate NotebookLM context
2026-01-26 04:14:28 +07:00
google-labs-jules[bot]
957e97403f Setup schedule and integrate NotebookLM context for research/upgrades 2026-01-25 19:44:13 +00:00
GenX FX Trading System
6bf1133c4d
Merge pull request #189 from A6-9V/bolt-parallel-ai-research-510312515005046311
 Bolt: Parallelize AI market analysis
2026-01-25 22:11:37 +07:00
google-labs-jules[bot]
9365d50dea feat: parallelize AI market research
Parallelizes the Gemini and Jules AI analysis calls in `scripts/market_research.py` using `concurrent.futures`. This optimization allows both API requests to execute concurrently, reducing the total execution time of the script to the duration of the slower request rather than the sum of both.

Changes:
- Imported `concurrent.futures` in `scripts/market_research.py`.
- Replaced sequential calls to `analyze_with_gemini` and `analyze_with_jules` with `ThreadPoolExecutor` submission.
2026-01-25 05:36:41 +00:00
GenX FX Trading System
bc2b14ee98
Merge pull request #188 from A6-9V/cloudflare-setup-4256580351213290759
Add Cloudflare management and tunnel setup for lengkundee01.org
2026-01-25 11:07:45 +07:00
google-labs-jules[bot]
b528ef932e Add Cloudflare management scripts and tunnel setup
- Created `scripts/manage_cloudflare.py` to get/set security levels via API.
- Created `scripts/setup_cloudflare_tunnel.sh` to install `cloudflared`.
- Created `config/vault.json` with user-provided Zone/Account IDs for `lengkundee01.org`.
- Created `docs/CLOUDFLARE_GUIDE.md` with usage instructions.
- Updated `requirements.txt` to include `requests` as a core dependency.
2026-01-25 02:59:06 +00:00
GenX FX Trading System
21f0951469
Merge pull request #187 from A6-9V/setup-research-scheduler-2001608764464752478
Setup research scheduler and environment configuration
2026-01-25 05:50:30 +07:00
google-labs-jules[bot]
884bccc3ef Setup research scheduler and environment configuration 2026-01-24 19:54:18 +00:00
GenX FX Trading System
b8f3f19f6f
Merge pull request #185 from A6-9V/gcp-deployment-config-7259560766077796300
Configure Google Cloud Platform deployment
2026-01-25 02:22:34 +07:00
google-labs-jules[bot]
6bafb1a326 Add GCP deployment configuration and scripts 2026-01-24 19:21:00 +00:00
GenX FX Trading System
d525c3af33
Merge pull request #179 from A6-9V/research-automation-gemini-jules-2744086622719812731
Setup Research & Upgrade Automation with Gemini and Jules
2026-01-24 07:21:10 +07:00
google-labs-jules[bot]
b3311b9694 feat: Setup automated market research and upgrades with Gemini and Jules
- Added `yfinance` to fetch real market data.
- Enhanced `scripts/market_research.py` to use `yfinance` and support Jules AI.
- Enhanced `scripts/upgrade_repo.py` to support Jules AI for code suggestions.
- Updated `scripts/schedule_research.py` to load environment variables.
- Created `scripts/setup_research.sh` to automate setup.
- Updated `requirements.txt` and `README.md`.
2026-01-23 19:50:48 +00:00
GenX FX Trading System
9a005bdad3
Merge pull request #174 from A6-9V/bolt-optimize-web-dashboard-2374334673056786871
 Bolt: Reduce syscalls in web dashboard
2026-01-23 13:37:57 +07:00
google-labs-jules[bot]
0c59ee6ed8 Bolt: Reduce syscalls in web dashboard
Replaced `os.path.exists()` + `os.path.getmtime()` with a single `os.stat()` call in `scripts/web_dashboard.py` to reduce syscalls by 50% for cache checks. Also pre-calculated static file paths at module level to avoid redundant `abspath` and `join` calls on every request.

Impact:
- Reduces filesystem operations per request.
- Improves code cleanliness by centralizing path constants.
- Verified with existing tests and manual curl check.
2026-01-23 05:19:37 +00:00
GenX FX Trading System
f2ff6db114
Merge pull request #173 from A6-9V/feat/jules-api-integration-7577922961390192691
Add Jules API support to SMC EA
2026-01-23 07:14:55 +07:00
google-labs-jules[bot]
99034600f3 feat: add Jules API integration to SMC_TrendBreakout_MTF_EA
- Update `AiAssistant.mqh` to support `Ai_AskJules` using Bearer token authentication.
- Add `ENUM_AI_PROVIDER` to select between Gemini and Jules API.
- Update `SMC_TrendBreakout_MTF_EA.mq5` with new inputs for Jules API (Key, URL, Model).
- Rename input group "Gemini AI" to "AI Filter" and use `AiProvider` input.
- Ensure API keys are not hardcoded in source.
2026-01-22 21:31:57 +00:00
GenX FX Trading System
b938d85be2
Merge pull request #168 from A6-9V/update-user-notes-locations-1217990838283649143
Update USER_NOTES.md with location references
2026-01-23 03:52:00 +07:00
GenX FX Trading System
d33c738512
Merge pull request #171 from A6-9V/jules/market-research-scheduler-13623558268805127169
Setup Market Research Scheduler
2026-01-23 03:44:39 +07:00
google-labs-jules[bot]
4a280992bf Setup Market Research Scheduler (Scandal)
- Added `scripts/market_research.py` to analyze market data using Gemini.
- Added `scripts/upgrade_repo.py` to suggest code upgrades based on research.
- Added `scripts/schedule_research.py` to orchestrate periodic research.
- Updated `config/startup_config.json` to include the scheduler.
- Added `schedule` and `google-generativeai` to `requirements.txt`.
2026-01-22 19:36:23 +00:00
google-labs-jules[bot]
1f33c0458e docs: add location references to USER_NOTES.md
Added a new 'Locations' section to docs/USER_NOTES.md containing:
- The user-provided Google Maps link (Battambang, Cambodia).
- The verified geolocation of the ZOLO Bridge server (Phnom Penh, Cambodia).
2026-01-22 16:26:32 +00:00
GenX FX Trading System
9581c9bc0d
Merge pull request #165 from A6-9V/startup-monitor-feature-16172164947891703946
Add monitoring support to startup script
2026-01-22 17:16:38 +07:00
GenX FX Trading System
95008a388b
Merge branch 'copilot/install-juless-cli' into startup-monitor-feature-16172164947891703946 2026-01-22 17:16:16 +07:00
GenX FX Trading System
f70e6a3a1f
Merge pull request #166 from A6-9V/update-readme-structure-5863019490177912660
Update README and generate structure file
2026-01-22 17:15:54 +07:00
google-labs-jules[bot]
f8fbe9de19 Update README with structure link and generate structure file 2026-01-22 09:01:46 +00:00
google-labs-jules[bot]
2698f7f96d feat: Add monitoring support to startup script
- Added `--monitor` flag to `scripts/startup.sh`.
- Fixed circular nameref warning in `scripts/startup.sh`.
- Updated `startup.sh` to pass the monitor flag to `startup_orchestrator.py`.
- Verified system startup and web dashboard accessibility.
2026-01-22 08:20:09 +00:00