Skip to content

"Vibe-Trading: Your Personal Trading Agent"

docs: align UK wording with LSE-only scope (post-.IL removal)

cgycorey25323141b805
diff --git a/agent/backtest/loaders/base.py b/agent/backtest/loaders/base.py
index fcd7e3194..3dc0b005f 100644
--- a/agent/backtest/loaders/base.py
+++ b/agent/backtest/loaders/base.py
@@ -35,7 +35,7 @@ _UK_EQUITY_PATTERN = re.compile(r"^[A-Z0-9&.\-]+\.L$", re.I)
def is_gbp_pence_symbol(code: str) -> bool:
- """Return whether a project symbol quotes in GBp (LSE/ISE UK names).
+ """Return whether a project symbol quotes in GBp (LSE names).
Both Yahoo sources (direct chart + yfinance) serve ``.L`` names in pence.
The engine-side
@@ -55,7 +55,7 @@ def scale_pence_to_currency(
Args:
frame: OHLCV frame with float price columns.
currency: Quote currency declared by the source (e.g. ``"GBp"`` for
- LSE/ISE pence-quoted names; ``"USD"``/``"EUR"``/``"GBP"`` pass
+ LSE pence-quoted names; ``"USD"``/``"EUR"``/``"GBP"`` pass
through).
Returns:
diff --git a/agent/backtest/loaders/registry.py b/agent/backtest/loaders/registry.py
index 97f13f9d3..7e2298f51 100644
--- a/agent/backtest/loaders/registry.py
+++ b/agent/backtest/loaders/registry.py
@@ -151,7 +151,7 @@ FALLBACK_CHAINS: dict[str, list[str]] = {
"kr_equity": ["pykrx", "yahoo", "yfinance", "local"],
# TSX (.TO) / TSX Venture (.V): direct Yahoo first, SDK fallback second.
"ca_equity": ["yahoo", "yfinance", "local"],
- # UK (.L) / Irish (.IL): direct Yahoo first, SDK fallback second.
+ # UK (LSE .L): direct Yahoo first, SDK fallback second.
"uk_equity": ["yahoo", "yfinance", "local"],
# Vietnam (.VN): Yahoo lists HOSE only — HNX and UPCOM are unsupported,
# so those two are reachable only through the user's local files.
diff --git a/agent/backtest/loaders/yahoo_client.py b/agent/backtest/loaders/yahoo_client.py
index 547d6de11..e9177b774 100644
--- a/agent/backtest/loaders/yahoo_client.py
+++ b/agent/backtest/loaders/yahoo_client.py
@@ -184,7 +184,7 @@ def get_chart(
is the bar's epoch-second timestamp) — empty when Yahoo reports no
data — and ``currency`` is the quote currency declared by the chart
meta (e.g. ``"USD"``, ``"GBP"``, ``"EUR"``, or the pence marker
- ``"GBp"`` LSE/ISE names quote in). Rows-only callers unpack the tuple.
+ ``"GBp"`` LSE names quote in). Rows-only callers unpack the tuple.
Raises:
requests.RequestException: On a network/HTTP failure.
@@ -219,7 +219,7 @@ def _parse_chart(payload: Any, yahoo_symbol: str) -> Tuple[List[Dict[str, Any]],
Returns:
``(rows, currency)``: rows as in :func:`get_chart`, plus the quote
currency declared in the chart meta (``"GBp"`` when the venue quotes
- UK names in pence — LSE always, ISE for GBp-quoted listings).
+ UK names in pence — LSE always quotes, GBp when chart meta says so).
"""
chart = (payload or {}).get("chart") or {}
error = chart.get("error")
diff --git a/agent/src/skills/yfinance/references/tool_get_stock_profile.md b/agent/src/skills/yfinance/references/tool_get_stock_profile.md
index 84ac5244d..d461ed51a 100644
--- a/agent/src/skills/yfinance/references/tool_get_stock_profile.md
+++ b/agent/src/skills/yfinance/references/tool_get_stock_profile.md
@@ -5,7 +5,7 @@
Tool: `get_stock_profile`
Backed by: `backtest.loaders.yahoo_client.get_quote_summary`
Description: Read-only agent/CLI tool that returns a compact company profile for
-a US, Hong Kong, or UK/Irish listing — valuation key statistics, analyst price
+a US, Hong Kong, or UK (LSE .L) listing — valuation key statistics, analyst price
targets and earnings/revenue estimates, institutional and insider ownership,
and the analyst recommendation trend. Use it for fundamentals and consensus
context, not for OHLCV price bars (use `get_market_data` for prices).
diff --git a/agent/src/tools/financial_statements_tool.py b/agent/src/tools/financial_statements_tool.py
index 386bdc267..8aec0de21 100644
--- a/agent/src/tools/financial_statements_tool.py
+++ b/agent/src/tools/financial_statements_tool.py
@@ -293,7 +293,7 @@ def _fetch_eastmoney_statement(
# Yahoo quoteSummary module + result-key per (statement, cadence). UK
# (.L) names have no Eastmoney or SEC filing pipeline; Yahoo's
# crumb-gated quoteSummary serves annual and quarterly histories for
-# LSE/ISE tickers (UK parity, #1206).
+# LSE tickers (UK parity, #1206).
_YAHOO_STATEMENT_MODULES: dict[tuple[str, str], tuple[str, str]] = {
("balance", "annual"): ("balanceSheetHistory", "balanceSheetStatements"),
("balance", "quarter"): ("balanceSheetHistoryQuarterly", "balanceSheetStatements"),
@@ -334,7 +334,7 @@ def _fetch_yahoo_statement(
code: UK symbol (e.g. ``"VOD.L"``).
statement: One of :data:`_VALID_STATEMENTS`.
period: ``"annual"`` or ``"quarter"`` — selects the corresponding
- history module; both exist for LSE/ISE tickers.
+ history module; both exist for LSE tickers.
Returns:
``{"periods": [...]}`` on success or ``{"error": ...}`` on failure;
@@ -675,7 +675,7 @@ def _classify_market(code: str) -> str | None:
if suffix == "HK":
return "hk"
if suffix == "L":
- # London Stock Exchange / Irish Stock Exchange (#1206).
+ # London Stock Exchange (#1206).
return "uk"
return None
diff --git a/agent/src/tools/stock_profile_tool.py b/agent/src/tools/stock_profile_tool.py
index 33a681dc8..dedc62cce 100644
--- a/agent/src/tools/stock_profile_tool.py
+++ b/agent/src/tools/stock_profile_tool.py
@@ -240,7 +240,7 @@ class StockProfileTool(BaseTool):
name = "get_stock_profile"
description = (
- "Fetch a read-only company profile for a US, Hong Kong, or UK/Irish "
+ "Fetch a read-only company profile for a US, Hong Kong, or UK (LSE .L) "
"listing from Yahoo Finance: valuation key statistics, analyst price "
"targets and earnings/revenue estimates, institutional and insider "
"ownership, and the analyst recommendation trend. Use this for "
@@ -254,7 +254,7 @@ class StockProfileTool(BaseTool):
"ticker": {
"type": "string",
"description": (
- "US, HK, or UK/Irish symbol. US uses a bare or .US suffix "
+ "US, HK, or UK (LSE .L) symbol. US uses a bare or .US suffix "
"(AAPL or AAPL.US); HK uses a zero-padded .HK code "
"(00700.HK); UK uses the .L suffix (VOD.L)."
),