"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix(mcp): route get_market_data through validated registry path
cgycoreyb157c6aa905f
diff --git a/agent/mcp_server.py b/agent/mcp_server.pyindex a348f8c52..2ad25b2f6 100644--- a/agent/mcp_server.py+++ b/agent/mcp_server.py@@ -1765,15 +1765,17 @@ def get_market_data(of the returned rows ("lots" / "shares"; null = source undeclared) — readit before interpreting or comparing volume values across symbols/sources."""- return fetch_market_data_json(- codes=codes,- start_date=start_date,- end_date=end_date,- source=source,- interval=interval,- max_rows=max_rows,- loader_resolver=_get_loader,- include_provenance=True,+ registry = _get_registry()+ return registry.execute(+ "get_market_data",+ {+ "codes": codes,+ "start_date": start_date,+ "end_date": end_date,+ "source": source,+ "interval": interval,+ "max_rows": max_rows,+ },)