Currency & FX
HOODLEFINANCE supports two closely related workflows:
- looking up the price of an FX or crypto-style pair such as
EURUSDorCURRENCY:BTC.USDT - converting a security price into a requested output currency with an attribute such as
price@USD
FX Pair Lookups
FX pair lookups support fields such as price, currency, name, symbol, exchange, close, change, changepct, tradetime, and datadelay.
A few examples:
=HOODLEFINANCE("EURUSD", "price") // exchange rate
=HOODLEFINANCE("EURUSD", "currency") // quote currency
=HOODLEFINANCE("EURUSD", "close") // previous close
=HOODLEFINANCE("EURUSD", "changepct") // daily change %
=HOODLEFINANCE("EURUSD", "tradetime") // last update
Security Price Conversion
Use price@<currency> when you want the quote returned in a different currency from the instrument's native quote currency.
Examples:
=HOODLEFINANCE("SJPA.L", "price@USD")
=HOODLEFINANCE("IE00B4L5YX21", "price@GBP")
=HOODLEFINANCE("NASDAQ:GOOG", "price@EUR")
FX Pair Identifiers
FX and crypto-style pairs can be written in more than one supported form.
For example, the same pair can be written as:
USDPHPCURRENCY:USDPHPCURRENCY:USD.PHP
Use the shorter form when it is already clear in your sheet. Use the explicit CURRENCY: form when:
- you want the identifier itself to make the intent obvious
- a 4-character leg needs dotted notation such as
CURRENCY:BTC.USDT - a compact form would otherwise be ambiguous
When a compact form is ambiguous, you must write it explicitly. For example, CURRENCY:USDTUSD cannot be used because it could mean either USD.TUSD or USDT.USD.
Examples:
=HOODLEFINANCE("CURRENCY:USD.TUSD", "price")
=HOODLEFINANCE("CURRENCY:USDT.USD", "price")
Supported Crypto Currencies
The current built-in crypto unit list is ADA, BCH, BNB, BTC, DOGE, ETH, LTC, SOL, TUSD, USDC, USDT, and XRP. These can be used in the same pair syntax as fiat currencies, including mixed pairs such as BTCUSD, DOGEUSD, and USDUSDT. The explicit dotted form is also available for 4-character legs, for example CURRENCY:BTC.USDT.
Same-Currency Pairs
Pairs such as USDUSD are supported and resolve to 1. The same pattern also extends to subunit currencies such as GBP and GBp, or ILS and ILA.
Example:
=HOODLEFINANCE("USDUSD", "price") // 1
=HOODLEFINANCE("CURRENCY:GBP.GBp", "price") // 100
=HOODLEFINANCE("CURRENCY:GBp.GBP", "price") // 0.01
=HOODLEFINANCE("CURRENCY:ILS.ILA", "price") // 100
=HOODLEFINANCE("CURRENCY:ILA.ILS", "price") // 0.01
Dotted notation makes mixed-unit pairs easier to read when both sides look similar, such as CURRENCY:GBP.GBp or CURRENCY:ILS.ILA.
This is useful when:
- your sheet builds pair identifiers dynamically
- you want conversion logic that does not need a special-case branch for identical currencies
Note: For money-valued attributes, fractional units such as GBp and ILA are normalized automatically to their primary currency. For example, =HOODLEFINANCE("TASE:ESLT", "price") returns a value in ILS, not ILA, so you do not need to divide by 100 yourself.
Conversion And Pair Rules
Some practical rules are worth keeping in mind:
- output-currency conversion is rejected for currency-pair identifiers such as
EURUSDorCURRENCY:BTC.USDT - currency-pair identifiers reject
high,low, andvolumebecause the upstream FX quote pages do not expose those fields - pair coverage and quote freshness still depend on upstream sources
For general attribute behavior, including the full rules for price@<currency>, see Supported Attributes.