"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix(portfolio): classify zerodha as paper-capped experimental per the anti-drift gates
Ashutosh Singhf4f4ad293204
diff --git a/agent/src/portfolio/compatibility.py b/agent/src/portfolio/compatibility.pyindex 23ae31f5e..a71d1c9af 100644--- a/agent/src/portfolio/compatibility.py+++ b/agent/src/portfolio/compatibility.py@@ -67,6 +67,7 @@ _CONNECTOR_COMPATIBILITY: dict[str, PortfolioCompatibility] = {),"dhan": PortfolioCompatibility("experimental", 1, "positions", "INR valuation is not supported yet."),"shoonya": PortfolioCompatibility("experimental", 1, "positions", "INR valuation is not supported yet."),+ "zerodha": PortfolioCompatibility("experimental", 1, "positions", "INR valuation is not supported yet."),"futu": PortfolioCompatibility("experimental",1,diff --git a/agent/tests/test_paper_capped_connectors_refuse_live.py b/agent/tests/test_paper_capped_connectors_refuse_live.pyindex b1f6ec833..4b2e1d52b 100644--- a/agent/tests/test_paper_capped_connectors_refuse_live.py+++ b/agent/tests/test_paper_capped_connectors_refuse_live.py@@ -28,7 +28,7 @@ _CONNECTOR_ROOT = Path(__file__).resolve().parents[1] / "src" / "trading" / "con# Brokers with no runtime paper/live discriminator. Capped at paper; every# order entry point must refuse a non-paper config up front.-_PAPER_CAPPED = frozenset({"longbridge", "dhan", "shoonya", "trading212"})+_PAPER_CAPPED = frozenset({"longbridge", "dhan", "shoonya", "trading212", "zerodha"})# Brokers with a structural discriminator (host separation, demo flag, account# id format, trade environment). Live placement is allowed here, but onlydiff --git a/agent/tests/test_portfolio_compatibility.py b/agent/tests/test_portfolio_compatibility.pyindex af2bfa4cc..17092b98a 100644--- a/agent/tests/test_portfolio_compatibility.py+++ b/agent/tests/test_portfolio_compatibility.py@@ -27,6 +27,7 @@ def test_every_builtin_portfolio_connector_has_an_explicit_compatibility_tier():"shoonya": "experimental","tiger": "experimental","trading212": "experimental",+ "zerodha": "experimental",}observed = {profile.connector: profile_compatibility(profile)["level"] for profile in eligible_profiles()}