Renminbi (offshore) vs. Hong Kong dollar

Download historical market price data for Renminbi (offshore) vs. Hong Kong dollar cnhhkd

Earliest available data

TimeframeEarliest available data (UTC)
tick, s1
m1, m5, m15, m30
h1, h4
d1, mn1

Examples

CLI
npx dukascopy-node -i cnhhkd -from 2025-03-19 -to 2025-03-20 -t m1 -f csv
Node.js
const { getHistoricalRates } = require("dukascopy-node");
 
(async () => {
  const historicalRates = await getHistoricalRates({
    instrument: "cnhhkd",
    dates: {
      from: new Date("2025-03-19"),
      to: new Date("2025-03-20"),
    },
    timeframe: "m1",
  });
  console.log(historicalRates);
})();

Sample output files