From 6855c032032bd21950cab616fd3293d995f2ef38 Mon Sep 17 00:00:00 2001 From: Leonid Pyrlia Date: Mon, 3 Jun 2024 20:57:55 +0200 Subject: [PATCH] feat: new instruments Jun 2024 (#177) --- README.md | 11 ++++--- .../generated/instrument-enum.ts | 20 ++++++++++++- .../generated/instrument-groups.json | 3 ++ .../generated/instrument-meta-data.json | 29 ++++++++++++++++++- .../generated/instruments.md | 9 ++++-- 5 files changed, 63 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index afc9549..d4f04a2 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,12 @@ const { getHistoricalRates } = require('dukascopy-node'); * [France ETFs πŸ‡«πŸ‡·πŸ“ˆ (3)](#etf_cfd_fr) * [Hong Kong ETFs πŸ‡­πŸ‡°πŸ“ˆ (4)](#etf_cfd_hk) * [United States ETFs πŸ‡ΊπŸ‡ΈπŸ“ˆ (43)](#etf_cfd_us) -* [Forex currencies πŸ’± (52)](#fx_crosses) +* [Forex currencies πŸ’± (54)](#fx_crosses) * [Forex major currencies πŸ’Ά (7)](#fx_majors) * [Forex metals πŸ₯‡ (2)](#fx_metals) * [America 🌎 (6)](#idx_america) * [Asia 🌏 (6)](#idx_asia) -* [Europe πŸ‡ͺπŸ‡Ί (8)](#idx_europe) +* [Europe πŸ‡ͺπŸ‡Ί (9)](#idx_europe) * [Africa 🌍 (1)](#idx_africa) * [Austria πŸ‡¦πŸ‡Ή (3)](#austria) * [Belgium πŸ‡§πŸ‡ͺ (7)](#belgium) @@ -304,6 +304,7 @@ const { getHistoricalRates } = require('dukascopy-node'); |[New Zealand Dollar vs Japanese Yen](https://www.dukascopy-node.app/instrument/nzdjpy)|`nzdjpy`|Oct 1, 1998| |[Singapore Dollar vs Japanese Yen](https://www.dukascopy-node.app/instrument/sgdjpy)|`sgdjpy`|May 31, 1999| |[Turkish Lira vs Japanese Yen](https://www.dukascopy-node.app/instrument/tryjpy)|`tryjpy`|May 9, 2010| +|[US Dollar vs United Arab Emirates Dirham](https://www.dukascopy-node.app/instrument/usdaed)|`usdaed`|Mar 22, 2024| |[US Dollar vs Offshore Chinese Renminbi](https://www.dukascopy-node.app/instrument/usdcnh)|`usdcnh`|Jan 2, 2012| |[US Dollar vs Czech Koruna](https://www.dukascopy-node.app/instrument/usdczk)|`usdczk`|Jan 3, 2016| |[US Dollar vs Danish Krone](https://www.dukascopy-node.app/instrument/usddkk)|`usddkk`|Apr 12, 1990| @@ -314,6 +315,7 @@ const { getHistoricalRates } = require('dukascopy-node'); |[US Dollar vs Norwegian Krone](https://www.dukascopy-node.app/instrument/usdnok)|`usdnok`|Mar 27, 1991| |[US Dollar vs Polish Zloty](https://www.dukascopy-node.app/instrument/usdpln)|`usdpln`|Mar 22, 1999| |[US Dollar vs Romanian Leu](https://www.dukascopy-node.app/instrument/usdron)|`usdron`|Dec 19, 2016| +|[US Dollar vs Saudi Riyal](https://www.dukascopy-node.app/instrument/usdsar)|`usdsar`|Mar 25, 2024| |[US Dollar vs Swedish Krona](https://www.dukascopy-node.app/instrument/usdsek)|`usdsek`|Jul 16, 1991| |[US Dollar vs Singapore Dollar](https://www.dukascopy-node.app/instrument/usdsgd)|`usdsgd`|Jan 21, 1991| |[US Dollar vs Thai Baht](https://www.dukascopy-node.app/instrument/usdthb)|`usdthb`|Feb 13, 2017| @@ -367,6 +369,7 @@ const { getHistoricalRates } = require('dukascopy-node'); |[UK 100 Index](https://www.dukascopy-node.app/instrument/gbridxgbp)|`gbridxgbp`|Apr 5, 1988| |[Spain 35 Index](https://www.dukascopy-node.app/instrument/espidxeur)|`espidxeur`|Jun 2, 2014| |[Switzerland 20 Index](https://www.dukascopy-node.app/instrument/cheidxchf)|`cheidxchf`|Jan 3, 1992| +|[Italy 40 Index](https://www.dukascopy-node.app/instrument/itaidxeur)|`itaidxeur`|Jun 2, 2014| |[Netherlands 25 Index](https://www.dukascopy-node.app/instrument/nldidxeur)|`nldidxeur`|Dec 1, 2017| |[Poland 20 Index](https://www.dukascopy-node.app/instrument/plnidxpln)|`plnidxpln`|Dec 1, 2017|

Africa 🌍

@@ -1132,7 +1135,7 @@ const { getHistoricalRates } = require('dukascopy-node'); |[EXTRA SPACE STORAGE INC](https://www.dukascopy-node.app/instrument/exrususd)|`exrususd`|May 12, 2022| |[FORD MOTOR CO](https://www.dukascopy-node.app/instrument/fususd)|`fususd`|Nov 2, 2017| |[DIAMONDBACK ENERGY INC](https://www.dukascopy-node.app/instrument/fangususd)|`fangususd`|May 12, 2022| -|[FACEBOOK INC-A](https://www.dukascopy-node.app/instrument/fbususd)|`fbususd`|Jan 26, 2017| +|[FACEBOOK INC-A / META](https://www.dukascopy-node.app/instrument/fbususd)|`fbususd`|Jan 26, 2017| |[FORTUNE BRANDS HOME & SECURI](https://www.dukascopy-node.app/instrument/fbhsususd)|`fbhsususd`|May 12, 2022| |[FIRST CITIZENS BCSHS -CL A](https://www.dukascopy-node.app/instrument/fcncaususd)|`fcncaususd`|May 12, 2022| |[FREEPORT-MCMORAN INC](https://www.dukascopy-node.app/instrument/fcxususd)|`fcxususd`|Nov 2, 2017| @@ -1536,4 +1539,4 @@ const { getHistoricalRates } = require('dukascopy-node'); #### βš–οΈ Legal Disclaimer -`dukascopy-node` is not affiliated, endorsed, or vetted by Dukascopy Bank SA. It's an open-source tool that uses Dukascopy's publicly available APIs, and is intended for research and educational purposes. +`dukascopy-node` is not affiliated, endorsed, or vetted by Dukascopy Bank SA. It's an open-source tool that uses Dukascopy's publicly available APIs, and is intended for research and educational purposes. \ No newline at end of file diff --git a/src/utils/instrument-meta-data/generated/instrument-enum.ts b/src/utils/instrument-meta-data/generated/instrument-enum.ts index 1f063a3..463cdda 100644 --- a/src/utils/instrument-meta-data/generated/instrument-enum.ts +++ b/src/utils/instrument-meta-data/generated/instrument-enum.ts @@ -3061,7 +3061,7 @@ export enum Instrument { fangususd='fangususd', /** - * ### FACEBOOK INC-A + * ### FACEBOOK INC-A / META * *FB.US/USD* */ fbususd='fbususd', @@ -3912,6 +3912,12 @@ export enum Instrument { */ itususd='itususd', + /** + * ### Italy 40 Index + * *ITA.IDX/EUR* + */ + itaidxeur='itaidxeur', + /** * ### Intertek Group PLC * *ITRK.GB/GBX* @@ -6846,6 +6852,12 @@ export enum Instrument { */ usbususd='usbususd', + /** + * ### US Dollar vs United Arab Emirates Dirham + * *USD/AED* + */ + usdaed='usdaed', + /** * ### US Dollar vs Canadian Dollar * *USD/CAD* @@ -6924,6 +6936,12 @@ export enum Instrument { */ usdron='usdron', + /** + * ### US Dollar vs Saudi Riyal + * *USD/SAR* + */ + usdsar='usdsar', + /** * ### US Dollar vs Swedish Krona * *USD/SEK* diff --git a/src/utils/instrument-meta-data/generated/instrument-groups.json b/src/utils/instrument-meta-data/generated/instrument-groups.json index e83d381..ef799af 100644 --- a/src/utils/instrument-meta-data/generated/instrument-groups.json +++ b/src/utils/instrument-meta-data/generated/instrument-groups.json @@ -183,6 +183,7 @@ "nzdjpy", "sgdjpy", "tryjpy", + "usdaed", "usdcnh", "usdczk", "usddkk", @@ -193,6 +194,7 @@ "usdnok", "usdpln", "usdron", + "usdsar", "usdsek", "usdsgd", "usdthb", @@ -251,6 +253,7 @@ "gbridxgbp", "espidxeur", "cheidxchf", + "itaidxeur", "nldidxeur", "plnidxpln" ] diff --git a/src/utils/instrument-meta-data/generated/instrument-meta-data.json b/src/utils/instrument-meta-data/generated/instrument-meta-data.json index 1a5d993..28bb3ef 100644 --- a/src/utils/instrument-meta-data/generated/instrument-meta-data.json +++ b/src/utils/instrument-meta-data/generated/instrument-meta-data.json @@ -4591,7 +4591,7 @@ }, "fbususd": { "name": "FB.US/USD", - "description": "FACEBOOK INC-A", + "description": "FACEBOOK INC-A / META", "decimalFactor": 1000, "startHourForTicks": "2017-01-26T14:30:01.438Z", "startDayForMinuteCandles": "2017-01-26T14:30:00.000Z", @@ -5867,6 +5867,15 @@ "startMonthForHourlyCandles": "2022-05-12T13:00:00.000Z", "startYearForDailyCandles": "2022-05-12T00:00:00.000Z" }, + "itaidxeur": { + "name": "ITA.IDX/EUR", + "description": "Italy 40 Index", + "decimalFactor": 1000, + "startHourForTicks": "2014-06-02T07:00:33.102Z", + "startDayForMinuteCandles": "2014-06-02T07:00:00.000Z", + "startMonthForHourlyCandles": "2014-06-02T07:00:00.000Z", + "startYearForDailyCandles": "2014-06-02T00:00:00.000Z" + }, "itrkgbgbx": { "name": "ITRK.GB/GBX", "description": "Intertek Group PLC", @@ -10268,6 +10277,15 @@ "startMonthForHourlyCandles": "2017-11-15T15:00:00.000Z", "startYearForDailyCandles": "2017-11-15T00:00:00.000Z" }, + "usdaed": { + "name": "USD/AED", + "description": "US Dollar vs United Arab Emirates Dirham", + "decimalFactor": 100, + "startHourForTicks": "2024-03-22T20:55:00.062Z", + "startDayForMinuteCandles": "2024-03-22T20:55:00.000Z", + "startMonthForHourlyCandles": "2024-03-22T20:00:00.000Z", + "startYearForDailyCandles": "2024-03-22T00:00:00.000Z" + }, "usdcad": { "name": "USD/CAD", "description": "US Dollar vs Canadian Dollar", @@ -10385,6 +10403,15 @@ "startMonthForHourlyCandles": "2016-12-19T07:00:00.000Z", "startYearForDailyCandles": "2016-12-20T00:00:00.000Z" }, + "usdsar": { + "name": "USD/SAR", + "description": "US Dollar vs Saudi Riyal", + "decimalFactor": 100, + "startHourForTicks": "2024-03-25T10:29:41.348Z", + "startDayForMinuteCandles": "2024-03-25T10:29:00.000Z", + "startMonthForHourlyCandles": "2024-03-25T10:00:00.000Z", + "startYearForDailyCandles": "2024-03-25T00:00:00.000Z" + }, "usdsek": { "name": "USD/SEK", "description": "US Dollar vs Swedish Krona", diff --git a/src/utils/instrument-meta-data/generated/instruments.md b/src/utils/instrument-meta-data/generated/instruments.md index 00a6062..5580fa5 100644 --- a/src/utils/instrument-meta-data/generated/instruments.md +++ b/src/utils/instrument-meta-data/generated/instruments.md @@ -9,12 +9,12 @@ * [France ETFs πŸ‡«πŸ‡·πŸ“ˆ (3)](#etf_cfd_fr) * [Hong Kong ETFs πŸ‡­πŸ‡°πŸ“ˆ (4)](#etf_cfd_hk) * [United States ETFs πŸ‡ΊπŸ‡ΈπŸ“ˆ (43)](#etf_cfd_us) -* [Forex currencies πŸ’± (52)](#fx_crosses) +* [Forex currencies πŸ’± (54)](#fx_crosses) * [Forex major currencies πŸ’Ά (7)](#fx_majors) * [Forex metals πŸ₯‡ (2)](#fx_metals) * [America 🌎 (6)](#idx_america) * [Asia 🌏 (6)](#idx_asia) -* [Europe πŸ‡ͺπŸ‡Ί (8)](#idx_europe) +* [Europe πŸ‡ͺπŸ‡Ί (9)](#idx_europe) * [Africa 🌍 (1)](#idx_africa) * [Austria πŸ‡¦πŸ‡Ή (3)](#austria) * [Belgium πŸ‡§πŸ‡ͺ (7)](#belgium) @@ -212,6 +212,7 @@ |[New Zealand Dollar vs Japanese Yen](https://www.dukascopy-node.app/instrument/nzdjpy)|`nzdjpy`|Oct 1, 1998| |[Singapore Dollar vs Japanese Yen](https://www.dukascopy-node.app/instrument/sgdjpy)|`sgdjpy`|May 31, 1999| |[Turkish Lira vs Japanese Yen](https://www.dukascopy-node.app/instrument/tryjpy)|`tryjpy`|May 9, 2010| +|[US Dollar vs United Arab Emirates Dirham](https://www.dukascopy-node.app/instrument/usdaed)|`usdaed`|Mar 22, 2024| |[US Dollar vs Offshore Chinese Renminbi](https://www.dukascopy-node.app/instrument/usdcnh)|`usdcnh`|Jan 2, 2012| |[US Dollar vs Czech Koruna](https://www.dukascopy-node.app/instrument/usdczk)|`usdczk`|Jan 3, 2016| |[US Dollar vs Danish Krone](https://www.dukascopy-node.app/instrument/usddkk)|`usddkk`|Apr 12, 1990| @@ -222,6 +223,7 @@ |[US Dollar vs Norwegian Krone](https://www.dukascopy-node.app/instrument/usdnok)|`usdnok`|Mar 27, 1991| |[US Dollar vs Polish Zloty](https://www.dukascopy-node.app/instrument/usdpln)|`usdpln`|Mar 22, 1999| |[US Dollar vs Romanian Leu](https://www.dukascopy-node.app/instrument/usdron)|`usdron`|Dec 19, 2016| +|[US Dollar vs Saudi Riyal](https://www.dukascopy-node.app/instrument/usdsar)|`usdsar`|Mar 25, 2024| |[US Dollar vs Swedish Krona](https://www.dukascopy-node.app/instrument/usdsek)|`usdsek`|Jul 16, 1991| |[US Dollar vs Singapore Dollar](https://www.dukascopy-node.app/instrument/usdsgd)|`usdsgd`|Jan 21, 1991| |[US Dollar vs Thai Baht](https://www.dukascopy-node.app/instrument/usdthb)|`usdthb`|Feb 13, 2017| @@ -275,6 +277,7 @@ |[UK 100 Index](https://www.dukascopy-node.app/instrument/gbridxgbp)|`gbridxgbp`|Apr 5, 1988| |[Spain 35 Index](https://www.dukascopy-node.app/instrument/espidxeur)|`espidxeur`|Jun 2, 2014| |[Switzerland 20 Index](https://www.dukascopy-node.app/instrument/cheidxchf)|`cheidxchf`|Jan 3, 1992| +|[Italy 40 Index](https://www.dukascopy-node.app/instrument/itaidxeur)|`itaidxeur`|Jun 2, 2014| |[Netherlands 25 Index](https://www.dukascopy-node.app/instrument/nldidxeur)|`nldidxeur`|Dec 1, 2017| |[Poland 20 Index](https://www.dukascopy-node.app/instrument/plnidxpln)|`plnidxpln`|Dec 1, 2017|

Africa 🌍

@@ -1040,7 +1043,7 @@ |[EXTRA SPACE STORAGE INC](https://www.dukascopy-node.app/instrument/exrususd)|`exrususd`|May 12, 2022| |[FORD MOTOR CO](https://www.dukascopy-node.app/instrument/fususd)|`fususd`|Nov 2, 2017| |[DIAMONDBACK ENERGY INC](https://www.dukascopy-node.app/instrument/fangususd)|`fangususd`|May 12, 2022| -|[FACEBOOK INC-A](https://www.dukascopy-node.app/instrument/fbususd)|`fbususd`|Jan 26, 2017| +|[FACEBOOK INC-A / META](https://www.dukascopy-node.app/instrument/fbususd)|`fbususd`|Jan 26, 2017| |[FORTUNE BRANDS HOME & SECURI](https://www.dukascopy-node.app/instrument/fbhsususd)|`fbhsususd`|May 12, 2022| |[FIRST CITIZENS BCSHS -CL A](https://www.dukascopy-node.app/instrument/fcncaususd)|`fcncaususd`|May 12, 2022| |[FREEPORT-MCMORAN INC](https://www.dukascopy-node.app/instrument/fcxususd)|`fcxususd`|Nov 2, 2017|