"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
test(registry): include uk_equity in fallback-chain contract tests
cgycorey50af5d706aca
diff --git a/agent/tests/test_registry.py b/agent/tests/test_registry.pyindex a6f119bb5..b95c3b5fe 100644--- a/agent/tests/test_registry.py+++ b/agent/tests/test_registry.py@@ -134,8 +134,8 @@ class TestFallbackChains:def test_all_expected_markets_present(self) -> None:expected = {"a_share", "us_equity", "hk_equity", "india_equity", "kr_equity",- "ca_equity", "vietnam_equity", "crypto", "futures", "fund", "macro",- "forex",+ "ca_equity", "uk_equity", "vietnam_equity", "crypto", "futures",+ "fund", "macro", "forex",}assert expected == set(FALLBACK_CHAINS.keys())@@ -145,6 +145,9 @@ class TestFallbackChains:def test_vietnam_chain_uses_only_compatible_sources(self) -> None:assert FALLBACK_CHAINS["vietnam_equity"] == ["yahoo", "yfinance", "local"]+ def test_uk_chain_uses_only_compatible_sources(self) -> None:+ assert FALLBACK_CHAINS["uk_equity"] == ["yahoo", "yfinance", "local"]+def test_chains_are_non_empty(self) -> None:for market, chain in FALLBACK_CHAINS.items():assert len(chain) > 0, f"Fallback chain for {market} is empty"