]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
fix(qav3): brown paper bag bug at string path seperator handling
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Jun 2025 11:09:51 +0000 (13:09 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 2 Jun 2025 11:09:51 +0000 (13:09 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
quickadapter/user_data/strategies/QuickAdapterV3.py

index 2feec2172fe23759b9d991c849aed9f51c64914d..f72386291c7506d44c8725bbddf9c793091323d1 100644 (file)
@@ -159,9 +159,9 @@ class QuickAdapterV3(IStrategy):
                 "FreqAI strategy requires 'identifier' defined in the freqai section configuration"
             )
         self.models_full_path = Path(
-            str(self.config.get("user_data_dir"))
+            self.config.get("user_data_dir")
             / "models"
-            / str(self.freqai_info.get("identifier"))
+            / self.freqai_info.get("identifier")
         )
         self._label_params: dict[str, dict] = {}
         for pair in self.pairs: