Commit Graph

9 Commits

Author SHA1 Message Date
google-labs-jules[bot] 01b82a03bc Add test file for data/data_loader.py
This commit introduces a new test file, `tests/test_data_loader.py`, to verify the functionality of `get_data_mt5`. It uses `unittest.mock.MagicMock` to mock the `MetaTrader5` module, allowing tests to run on Linux where the module cannot be imported.

The tests cover:
- Live trading data retrieval (`start_pos=None`).
- Backtesting data retrieval with a specific `start_pos`.
- Error handling when `copy_rates_from_pos` returns `None`.
- The proper conversion of rates into a pandas DataFrame with a parsed datetime index.

Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>
2026-03-11 18:37:47 +00:00
Mohammad Aghdam 29fcbf0f9d updated readme 2025-10-05 11:47:22 +02:00
Mohammad Aghdam b4213e5dbc Merge pull request #4 from seekersoftec/uv-migration
feat(uv): migrate dependency management & add volatility labeling scheme
2025-10-05 11:14:35 +02:00
Samuel Ojietohamen 75929190ab feat: add volatility labeling scheme
- Removed requirements.txt file
- Added volatility label function
- Created pyproject.toml
- Added uv.lock file
2025-10-04 18:28:33 +01:00
Mohammad Aghdam 23c0f368a8 Merge pull request #3 from maghdam/notebook-reorg-and-strategies
Notebook reorg and strategies
2025-10-02 07:53:30 +02:00
Mohammad Aghdam 78ae45ddc5 docs: update supported strategies in README 2025-10-02 07:45:37 +02:00
Mohammad Aghdam 6939daaeb4 feat: Organize notebooks and add stationarity checks 2025-10-02 00:00:16 +02:00
maghdam 0a304ba1de Update README.md 2025-08-22 14:46:51 +02:00
Maghdam 6a3994bbf7 Initial commit 2025-03-02 22:25:33 +01:00