test: add error path test for live trading get_data

- Add check for `mt5.copy_rates_from_pos` returning `None` in `live_trading/multi_bar.py:82`
- Add test in `tests/test_multi_bar.py` verifying that when `mt5.copy_rates_from_pos` returns `None`, the function returns `None` and an error is logged.

Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-03-11 18:33:09 +00:00
co-authored by maghdam
parent 29fcbf0f9d
commit 5c24d2d72d
3 changed files with 27 additions and 0 deletions
View File