A collection of custom Google Sheets functions designed as an alternative to GOOGLEFINANCE()
These functions retrieve updated prices for:
- Bonds
- ETPs (ETFs / ETCs / ETNs)
- Cryptocurrencies
- Commodities
Tutorial here
| Function | Purpose |
|---|---|
ETPPRICE(date; code; [stockExchange]; [currency]) |
Returns the latest price for an ETP (ETF/ETC/ETN) |
BONDPRICE(date; isin; stockExchange) |
Returns the latest price for a bond |
CRYPTOPRICE(date; symbol) |
Returns the latest cryptocurrency price |
COMMODITYPRICE(date; name) |
Returns the latest spot price of a commodity (EUR/gram) |
⚠️ Important: date must always be Utils!$A$1, this cell auto-refreshes every 15 minutes and forces recalculation.
⚠️ If you use the US locale, replace semicolons ; with commas.
Returns the latest price for an ETP (ETF/ETC/ETN)
date→ alwaysUtils!$A$1code→ ISIN code/Yahoo Finance tickerstockExchange→ OPTIONAL but recommended MIC code (ISO 10383) of the market where the ETP is tradedcurrency→ OPTIONAL Currency filter (e.g. "USD"). Only used when stockExchange is XLON (London Stock Exchange)
This is only needed when you pass an ISIN and want to force a specific market.
Supported MICs:
| MIC | Exchange |
|---|---|
| XETR | XETRA |
| XLON | London Stock Exchange 🔥 |
| XMIL | Borsa Italiana |
| XAMS | Euronext Amsterdam |
| XPAR | Euronext Paris |
| XSWX | SIX Swiss Exchange |
| XSTU | Stuttgart Stock Exchange |
| XMUN | Gettex |
| TGAT | Tradegate |
If omitted, the script selects an exchange automatically (if possible).
Only applies when stockExchange is XLON. Use it to select the trading currency of the ETP on the London Stock Exchange.
Returns the latest price for a bond
date→ alwaysUtils!$A$1isin→ ISIN code of the bondstockExchange→ MANDATORY MIC code (ISO 10383) of the market where the bond is traded
Supported MICs:
| MIC | Exchange |
|---|---|
| XAMS | Euronext Amsterdam |
| XBRU | Euronext Brussels |
| XLIS | Euronext Lisbon |
| XOSL | Oslo Børs |
| XPAR | Euronext Paris |
| ALXB | Euronext Growth Brussels |
| EXGM | Euronext Growth Milan |
| ALXP | Euronext Growth Paris |
| ENXL | Euronext Access Lisbon |
| MLXB | Euronext Access Brussels |
| XMLI | Euronext Access Paris |
| VPXB | Euronext Expert Market |
| ETLX | EuroTLX |
| MOTX | MOT |
| XMOT | Euronext Access Milan |
| XOAM | Nordic Alternative Bond Market |
| XMUN | Gettex 🔥 |
| TGAT | Tradegate 🔥 |
Returns the latest cryptocurrency price.
date→ alwaysUtils!$A$1symbol→ cryptocurrency ticker (e.g."BTC","ETH")
⚠️ Requires a CoinMarketCap API key (see installation).
Returns spot prices for commodities in EUR per gram.
Parameters:
date→ alwaysUtils!$A$1name→ name of the commodity (e.g."Gold")
"Gold""Silver""Platinum""Palladium"
=ETPPRICE(Utils!$A$1;"IE00BK5BQT80") // Price of VWCE from a random exchange
=ETPPRICE(Utils!$A$1;"IE00BK5BQT80";"XETR") // Price of VWCE from XETRA
=ETPPRICE(Utils!$A$1;"VWCE.DE") // Price of VWCE via Yahoo Finance
=ETPPRICE(Utils!$A$1;"IE00B3F81R35";"XLON";"GBP") // Price of IEBC from LSE in GBP
=BONDPRICE(Utils!$A$1;"IT0005672024";"MOTX") // Italian government bond (MOT)
=BONDPRICE(Utils!$A$1;"FR0014001NN8";"XPAR") // French OAT on Euronext Paris
=BONDPRICE(Utils!$A$1;"NL0015000QL2";"XAMS") // Bond on Euronext Amsterdam
=CRYPTOPRICE(Utils!$A$1;"BTC") // Bitcoin price
=COMMODITYPRICE(Utils!$A$1;"Gold") // Gold price (EUR/gram)
This project is licensed under the GNU General Public License v3.0.
See the LICENSE file for full terms.
Planned features and improvements for upcoming releases:
- Improve scalability and performance of the Euronext bond pricing API
- Add
FUNDPRICE()for mutual funds, SICAVs, and non-ETF investment funds - Flutter companion app
- London Stock Exchange (XLON) bonds