Rates of exchange of the Malaysian Ringgit vis-à-vis major trading partners. The table and charts show a preview using the most recent 2 years of data only, but you may download the complete dataset containing daily data since 2003.
0 views·0 downloads
The data is harvested from 4 open-source and globally-used APIs to ensure consistency.
This data is meant for analytical purposes, and is not intended to be used as a training dataset for trading algorithms.
—
Rates of exchange of the Malaysian Ringgit vis-à-vis major trading partners. The table and charts show a preview using the most recent 2 years of data only, but you may download the complete dataset containing daily data since 2003.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | The date in YYYY-MM-DD format |
myr_usd (Float) | USA | The rate of exchange (adjusted close) of MYR to USD |
myr_rmb (Float) | China | The rate of exchange (adjusted close) of MYR to RMB |
myr_sgd (Float) | Singapore | The rate of exchange (adjusted close) of MYR to SGD |
myr_eur (Float) | Euro Area | The rate of exchange (adjusted close) of MYR to EUR |
myr_jpy (Float) | Japan | The rate of exchange (adjusted close) of MYR to JPY |
myr_twd (Float) | Chinese Taipei | The rate of exchange (adjusted close) of MYR to TWD |
myr_thb (Float) | Thailand | The rate of exchange (adjusted close) of MYR to THB |
myr_idr (Float) | Indonesia | The rate of exchange (adjusted close) of MYR to IDR |
myr_hkd (Float) | Hong Kong SAR | The rate of exchange (adjusted close) of MYR to HKD |
myr_krw (Float) | South Korea | The rate of exchange (adjusted close) of MYR to KRW |
myr_vnd (Float) | Vietnam | The rate of exchange (adjusted close) of MYR to VND |
myr_inr (Float) | India | The rate of exchange (adjusted close) of MYR to INR |
myr_aud (Float) | Australia | The rate of exchange (adjusted close) of MYR to AUD |
myr_php (Float) | Philippines | The rate of exchange (adjusted close) of MYR to PHP |
myr_aed (Float) | UAE | The rate of exchange (adjusted close) of MYR to AED |
myr_sar (Float) | Saudi Arabia | The rate of exchange (adjusted close) of MYR to SAR |
myr_try (Float) | Turkey | The rate of exchange (adjusted close) of MYR to TRY |
myr_gbp (Float) | UK | The rate of exchange (adjusted close) of MYR to GBP |
myr_brl (Float) | Brazil | The rate of exchange (adjusted close) of MYR to BRL |
myr_mxn (Float) | Mexico | The rate of exchange (adjusted close) of MYR to MXN |
myr_bdt (Float) | Bangladesh | The rate of exchange (adjusted close) of MYR to BDT |
myr_chf (Float) | Switzerland | The rate of exchange (adjusted close) of MYR to CHF |
myr_cad (Float) | Canada | The rate of exchange (adjusted close) of MYR to CAD |
myr_rub (Float) | Russia | The rate of exchange (adjusted close) of MYR to RUB |
02 Dec 2024, 04:00
03 Dec 2024, 04:00
This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
0
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
0
Connect directly to the data with Python.
# If not already installed, do: pip install pandas fastparquet
import pandas as pd
URL_DATA = 'https://storage.data.gov.my/finsector/exchangerates.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
print(df)
The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.
import requests
import pprint
url = "https://api.data.gov.my/data-catalogue?id=exchangerates&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
© 2024 Public Sector Open Data