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) |
Returns the latest price for an ETP |
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.
Fetches the price of an ETF/ETC/ETN.
date→ alwaysUtils!$A$1code→ ISIN code/Yahoo Finance tickerstockExchange→ MIC code (ISO 10383) of the market where the ETP is traded
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).
Returns the latest market price for a bond traded on Euronext markets.
date→ alwaysUtils!$A$1isin→ ISIN code of the bondstockExchange→ MIC code (ISO 10383) of the Euronext market where the bond is traded
| Exchange | MIC |
|---|---|
| Euronext Amsterdam | XAMS |
| Euronext Brussels | XBRU |
| Euronext Lisbon | XLIS |
| Oslo Børs | XOSL |
| Euronext Paris | XPAR |
| Euronext Growth Brussels | ALXB |
| Euronext Growth Milan | EXGM |
| Euronext Growth Paris | ALXP |
| Euronext Access Lisbon | ENXL |
| Euronext Access Brussels | MLXB |
| Euronext Access Paris | XMLI |
| Euronext Expert Market | VPXB |
| EuroTLX | ETLX |
| MOT | MOTX |
| Euronext Access Milan | XMOT |
| Nordic Alternative Bond Market | XOAM |
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
=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:
- XMUN Bonds: Support for bonds traded on Gettex (XMUN)
- TGAT Bonds: Support for bonds traded on
- New LSE data source
- ? Currency selection for ETP
- Refactoring
- Improved caching system