get_exchange_rate: Exchange Rates: KL Interbank Foreign Exchange Market

View source: R/exchange_rate.R

get_exchange_rateR Documentation

Exchange Rates: KL Interbank Foreign Exchange Market

Description

Obtain currency exchange rates from the Interbank Foreign Exchange Market in Kuala Lumpur in relation to Ringgit.

Usage

get_exchange_rate(currency = NULL, session = "1130", quote = "rm")

Arguments

currency

3-characters currency code based on ISO4217 standard

session

Character string "0900", "1130", "1200" or "1700". A snapshot of the exchange rate daily at 0900, 1130, 1200 and 1700 intervals

quote

Base currency (Ringgit ("rm") or foreign currency ("fx")) as the denominator for the exchange rate

Source

https://apikijangportal.bnm.gov.my/

Examples

get_exchange_rate()

philip-khor/bnmr documentation built on Nov. 23, 2023, 6:59 a.m.