Skip to content

"Vibe-Trading: Your Personal Trading Agent"

fix(tools): replay compacted technical indicators

zeus229d7247c77ee34
diff --git a/agent/src/tools/technical_indicator_tool.py b/agent/src/tools/technical_indicator_tool.py
index ec84b6c64..c0c218d7f 100644
--- a/agent/src/tools/technical_indicator_tool.py
+++ b/agent/src/tools/technical_indicator_tool.py
@@ -261,6 +261,7 @@ class TechnicalIndicatorTool(BaseTool):
}
repeatable = True
is_readonly = True
+ replay_after_compaction = True
def execute(self, **kwargs: Any) -> str:
symbol = str(kwargs.get("symbol", "")).strip()
@@ -378,4 +379,4 @@ class TechnicalIndicatorTool(BaseTool):
},
ensure_ascii=False,
default=str,
- )
+ )
\ No newline at end of file