Commit graph

13 commits

Author SHA1 Message Date
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
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]
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]
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
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]
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]
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]
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
google-labs-jules[bot]
884bccc3ef Setup research scheduler and environment configuration 2026-01-24 19:54:18 +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
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