From 9a6a64ac8a025b42a04bfabbeafa924089381f9f Mon Sep 17 00:00:00 2001 From: Alvin Leong Date: Mon, 2 Dec 2024 13:55:59 +0800 Subject: [PATCH] Changed datafeed URL --- README.md | 3 +++ duka/core/fetch.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3be844c..d007a15 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # duka - Dukascopy data downloader [![Build Status](https://travis-ci.org/giuse88/duka.svg?branch=master)](https://travis-ci.org/giuse88/duka) +*2024 Dec 2* +The datafeed URL has changed, I have updated it. + Finding good Forex data is difficult or expensive. Dukascopy has made available an excellent [web tool](https://www.dukascopy.com/swiss/english/marketwatch/historical/) to download tick data for a large a variety of Forex, CFD and commodities. This is awesome and extremely useful for people, like me, trying to study the Forex market. However, it takes a lot of time to download a large data set from the website because you can download only one day per time. In order to solve this issue, I created **duka**. diff --git a/duka/core/fetch.py b/duka/core/fetch.py index a10dbe3..c8e9a48 100644 --- a/duka/core/fetch.py +++ b/duka/core/fetch.py @@ -9,7 +9,7 @@ from ..core.utils import Logger, is_dst -URL = "https://www.dukascopy.com/datafeed/{currency}/{year}/{month:02d}/{day:02d}/{hour:02d}h_ticks.bi5" +URL = "https://datafeed.dukascopy.com/datafeed/{currency}/{year}/{month:02d}/{day:02d}/{hour:02d}h_ticks.bi5" ATTEMPTS = 5