feat: Data Loader module with tests (P0 complete)

Created rdagent/scenarios/qlib/local/data_loader.py:
- OHLCV loading with thread-safe caching
- Factor metadata loading (sorted by IC)
- Factor time-series loading with alignment
- Feature matrix builder
- Randomized factor selection for diverse strategies
- 11 tests passing

Note: data_loader.py is in local/ (closed source)
Test file is public to validate interface.
This commit is contained in:
TPTBusiness
2026-04-09 08:15:49 +02:00
parent 2677ee43a2
commit 11d96ec3bd
10 changed files with 1039 additions and 274 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ class LLMSettings(ExtendedBaseSettings):
embedding_model: str = "text-embedding-3-small"
reasoning_effort: Literal["low", "medium", "high"] | None = None
enable_response_schema: bool = True
enable_response_schema: bool = False
# Whether to enable response_schema in chat models. may not work for models that do not support it.
# Handling format