resolve_isins
Convert ISINs from broker exports into yfinance-style tickers using the free OpenFIGI API. Specify an exchange for accurate ticker mapping or search globally—unmatched ISINs return null, never a guessed ticker.
Instructions
Map ISINs to tickers via the free, keyless OpenFIGI mapping API (tier A, no signup):
useful when a broker export identifies a holding only by ISIN and another tool
(analyze_stock, map_holdings_to_targets) needs a yfinance-style ticker instead. A miss
or an exchange OpenFIGI doesn't map to a known Yahoo suffix comes back as None for
that ISIN -- never an invented ticker. OpenFIGI's anonymous rate limit (25 req/min) is
respected internally; a persistent HTTP failure (e.g. 429) is raised as a ToolError
rather than silently returning nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isins | Yes | ||
| exch_code | No | Restrict the OpenFIGI search to one exchange (e.g. 'MI' for Borsa Italiana, 'US' for US-listed) and, when known, also compose a yfinance-style ticker for it (providers.openfigi.EXCHANGE_TO_YF_SUFFIX). Omit to search all exchanges for the ISIN (no yf_ticker is composed without a specific exchange). |