diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 14:12:44 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 14:12:44 +0900 |
| commit | fe909855ca125d289fab09ae611d23f2bf34ce21 (patch) | |
| tree | 040937820b9424587636e40acb6075a8f6d49656 /services/strategy-engine/tests/conftest.py | |
| parent | de5100240a070bfb16ef19a40095903afbf38d3c (diff) | |
feat: implement 3-stage stock selector (sentiment → technical → LLM)
Adds SentimentCandidateSource (DB scores), LLMCandidateSource (Claude
news analysis), and StockSelector orchestrating candidate merge,
RSI/EMA20/volume technical filter, and LLM final 2-3 pick selection
with Redis publish and DB persistence.
Diffstat (limited to 'services/strategy-engine/tests/conftest.py')
| -rw-r--r-- | services/strategy-engine/tests/conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/strategy-engine/tests/conftest.py b/services/strategy-engine/tests/conftest.py index eb31b23..2b909ef 100644 --- a/services/strategy-engine/tests/conftest.py +++ b/services/strategy-engine/tests/conftest.py @@ -7,3 +7,8 @@ from pathlib import Path STRATEGIES_DIR = Path(__file__).parent.parent / "strategies" if str(STRATEGIES_DIR) not in sys.path: sys.path.insert(0, str(STRATEGIES_DIR.parent)) + +# Ensure the worktree's strategy_engine src is preferred over any installed version +WORKTREE_SRC = Path(__file__).parent.parent / "src" +if str(WORKTREE_SRC) not in sys.path: + sys.path.insert(0, str(WORKTREE_SRC)) |
