Skip to main content

SNAPSHOTS

Snapshots of currency exchange rates from an indirect or direct perspective of a base currency.

Syntax

=OBB.CURRENCY.SNAPSHOTS([base],[quote_type],[counter_currencies])

Examples

=OBB.CURRENCY.SNAPSHOTS()
=OBB.CURRENCY.SNAPSHOTS("USD,XAU","indirect",EUR,JPY,GBP)

Parameters

NameTypeDescriptionRequired
baseTextThe base currency symbol. Multiple comma separated items allowed.False
quote_typeTextWhether the quote is direct or indirect. Selecting 'direct' will return the exchange rate as the amount of domestic currency required to buy one unit of the foreign currency. Selecting 'indirect' (default) will return the exchange rate as the amount of foreign currency required to buy one unit of the domestic currency.False
counter_currenciesAnyAn optional list of counter currency symbols to filter for. None returns all.False

Data

NameDescription
base_currencyThe base, or domestic, currency.
counter_currencyThe counter, or foreign, currency.
last_rateThe exchange rate, relative to the base currency. Rates are expressed as the amount of foreign currency received from selling one unit of the base currency, or the quantity of foreign currency required to purchase one unit of the domestic currency. To inverse the perspective, set the 'quote_type' parameter as 'direct'.
openThe open price.
highThe high price.
lowThe low price.
closeThe close price.
volumeThe trading volume.
prev_closeThe previous close price.
changeThe change in the price from the previous close.
change_percentThe change in the price from the previous close, as a normalized percent.
ma_50The 50-day moving average.
ma_200The 200-day moving average.
year_highThe 52-week high.
year_lowThe 52-week low.
last_rate_timestampThe timestamp of the last rate.