Commit graph

79 commits

Author SHA1 Message Date
Vercel
85de722951 Enable Vercel Web Analytics for your project
# Vercel Web Analytics Implementation

## Summary
Successfully implemented Vercel Web Analytics on all HTML pages in the MQL5 Trading Automation project.

## Changes Made

### Files Modified (5 files):
1. **index.html** (root) - Main landing page
2. **dashboard/index.html** - Dashboard view
3. **docs/index.html** - Documentation page
4. **offline.html** - PWA offline fallback page
5. **sw-inspector.html** - Service Worker inspection tool

### Implementation Details
Added Vercel Web Analytics tracking scripts to the `<head>` section of each HTML file:

```html
<script>
    window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };
</script>
<script defer src="/_vercel/insights/script.js"></script>
```

### Why This Approach?
- This is a plain HTML project (no JavaScript framework like React, Next.js, or Vue)
- Following the official Vercel Web Analytics guide for HTML sites
- The analytics script is added directly to HTML files without requiring any npm packages
- The `defer` attribute ensures the script doesn't block page rendering
- The `window.va` initialization allows analytics to be tracked even before the main script loads

## How It Works
1. The inline script creates a queue (`window.vaq`) that collects analytics calls
2. The deferred script (`/_vercel/insights/script.js`) is loaded asynchronously from Vercel's CDN
3. Once loaded, the script processes the queued analytics events
4. Analytics automatically tracks page views and user interactions

## Next Steps
To enable analytics on the deployed site:
1. Deploy this code to Vercel
2. Go to the Vercel dashboard for this project
3. Navigate to the **Analytics** tab
4. Click **Enable** to activate Web Analytics
5. After the next deployment, the `/_vercel/insights/*` routes will be available
6. Verify by checking the browser's Network tab for requests to `/_vercel/insights/view`

## Testing
To verify the implementation works:
- Deploy to Vercel
- Visit any page on the deployed site
- Open browser DevTools → Network tab
- Look for Fetch/XHR requests to `/_vercel/insights/view`
- These requests indicate analytics is tracking page views

## Notes
- No package.json changes needed (this is a static HTML site)
- No build process required
- Analytics will only work on the deployed Vercel site (not in local development)
- All 5 HTML pages now have tracking enabled for complete coverage

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2026-02-25 15:12:16 +00:00
copilot-swe-agent[bot]
eab3830ec5 Add implementation notes and update .gitignore for Jules
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 09:18:27 +00:00
copilot-swe-agent[bot]
4609ce90ab Add Jules CLI integration setup and documentation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 09:17:49 +00:00
copilot-swe-agent[bot]
78d1269735 Add integration update summary document
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 05:57:43 +00:00
copilot-swe-agent[bot]
573dd5356c Add NotebookLM and OneDrive Blueprint integration documentation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 05:55:01 +00:00
copilot-swe-agent[bot]
d30677d1e8 Fix inconsistent link formatting in SSH investigation guide
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 02:11:41 +00:00
copilot-swe-agent[bot]
4c6a82a957 Add SSH key investigation documentation and audit report
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-18 01:16:35 +00:00
NUNA
8dc8f3c87b Merge remote-tracking branch 'origin/merge-upstream-and-startup-1962334380484143359' into copilot/install-juless-cli 2026-02-17 22:33:00 +07: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]
28152e639e Update documentation for Windows Store Python support
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-13 09:27:43 +00:00
GenX FX Trading System
71e674fad7
Merge pull request #329 from A6-9V/docs/cloudflare-nameservers-and-domain-unification-7774302631406904191
docs: update Cloudflare nameservers and unify domain name
2026-02-13 11:30:49 +07:00
google-labs-jules[bot]
e9918dcb22 docs: update Cloudflare nameservers and unify domain name
- Added daisy.ns.cloudflare.com and rocco.ns.cloudflare.com to Cloudflare guide.
- Unified domain name to lengkundee01.org in CNAME and PWA guide.
- Verified active domain using dig.
- Updated sentinel journal with documentation learnings.
2026-02-13 04:11:32 +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]
49ebc2efde docs: add DNS configuration recommendation for lengkundee01.org 2026-02-13 03:21:34 +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
google-labs-jules[bot]
82a7e9423a Merge latest changes from upstream Mouy-leng/MQL5 and start system
- Merged upstream/circleci-project-setup into current branch.
- Resolved conflicts in .circleci/config.yml, AGENTS.md, and README.md.
- Updated NotebookLM link to the latest version.
- Installed missing Python dependencies (flask, etc.).
- Started the system using scripts/startup.sh and verified successful initialization of the Python orchestrator and web dashboard.
- Updated market research report generated during startup.
2026-02-11 06:14:34 +00:00
GenX FX Trading System
75bd08a892
Merge branch 'copilot/install-juless-cli' into copilot/add-profile-readme-and-gists 2026-02-10 13:21:02 +07:00
copilot-swe-agent[bot]
264cee6b80 Add comprehensive GitHub Profile README and Gists guides
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-10 06:17:10 +00: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
Cursor Agent
8a8a6521e2 Hardening: disable WebRequest by default
Co-authored-by: GenX FX Trading System <Mouy-leng@users.noreply.github.com>
2026-02-10 04:38:44 +00:00
copilot-swe-agent[bot]
6ab61f8c3c Add documentation for echo and hello window feature
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-09 05:09:47 +00:00
google-labs-jules[bot]
643c712228 docs: update VPS and terminal configuration metadata 2026-02-09 01:03:32 +00:00
google-labs-jules[bot]
887b8b73e9 feat: install Vercel CLI and update setup documentation
- Installed Vercel CLI v50.13.2 via npm.
- Created docs/Vercel_CLI_setup.md with installation and usage guides.
- Updated setup.sh to track Vercel CLI status and show documentation path.
2026-02-08 17:30:10 +00:00
copilot-swe-agent[bot]
12adedda33 Fix spacing issue in CD workflow guide
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-08 16:17:47 +00:00
copilot-swe-agent[bot]
38c90da940 Add CD quick reference guide
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-08 16:17:15 +00:00
copilot-swe-agent[bot]
88195a51ff Add CD workflow with comprehensive deployment automation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-08 16:16:13 +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
Copilot
655fa623fc
Add Kubernetes introduction documentation (#251)
* Initial plan

* Add comprehensive Kubernetes introduction guide

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

---------

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:41 +07: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]
69676f5b8d Add implementation summary and service worker inspector documentation
Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-01 19:21:39 +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
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]
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]
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
google-labs-jules[bot]
957e97403f Setup schedule and integrate NotebookLM context for research/upgrades 2026-01-25 19:44:13 +00: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
google-labs-jules[bot]
6bafb1a326 Add GCP deployment configuration and scripts 2026-01-24 19:21:00 +00: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
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
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
google-labs-jules[bot]
2cceaf9619 Update Magic Number to 81001 and enhance reset scripts for MT5 cleanup 2026-01-22 05:58:45 +00:00
google-labs-jules[bot]
58fa990314 Update MagicNumber to 81001 and add resetup scripts/docs 2026-01-22 05:41:55 +00:00
google-labs-jules[bot]
f10d59414e Add SETUP_AND_DEPLOY.md guide for MQL5 workflow
- Add comprehensive guide for validating, packaging, compiling, and deploying.
- Verify existing scripts: ci_validate_repo.py, package_mt5.sh, update_vps.sh.
- Ensure repository is ready for manual compilation and automated deployment.
2026-01-22 03:26:42 +00:00
google-labs-jules[bot]
75524f4af3 Reorganize documentation and add user notes placeholder
- Created `docs/INDEX.md` to categorize and index all repository documentation.
- Created `docs/USER_NOTES.md` as a dedicated place for user notes and external references.
- Updated `README.md` to link to the new documentation index and notes file.
- Preserved existing documentation structure while making it more navigable.
2026-01-22 01:20:17 +00:00
google-labs-jules[bot]
db783bd9f6 Update OneDrive resource links in documentation 2026-01-22 00:49:14 +00:00