dukascopy-node icon indicating copy to clipboard operation
dukascopy-node copied to clipboard

Dukascopy-cli: download more than one instrument

Open lezwright opened this issue 4 years ago • 8 comments

One more question, is it possible to download more than one instrument at the time?

lezwright avatar Aug 22 '20 13:08 lezwright

Another question! I am running Dukascopy-cli, after installing it, I cannot run the example. I get the following error: dukascopy-cli: command not found

Any suggestions?

lezwright avatar Aug 22 '20 13:08 lezwright

I don't know if you still need the answer but put npx before your command. Example:

npx dukascopy-cli -i gbridxgbp -from 2019-01-01 -to 2021-01-01 -t m1 -fl true -f csv

Hope thath helps!

tiaringhio avatar Feb 25 '21 08:02 tiaringhio

thanks @tiaringhio . I still needed it :-)

Also, @Leo4815162342 , some of the currency pairs cannot be downloaded in general, more specifically they are: EURTRY, EURHUF and USDTRY. Do you possibly know where the problem is?

lezwright avatar Mar 08 '21 16:03 lezwright

@lezwright hey, there can be multiple reasons for that. Can you share your full search config (with dates and timeframe)?

Leo4815162342 avatar Mar 09 '21 14:03 Leo4815162342

Hi @Leo4815162342 ,

Here is the screenshot of the error I get for EURDKK image

lezwright avatar Mar 15 '21 19:03 lezwright

@lezwright thanks for the screenshot. What are the values for the timeframe and the date range? Can you try updating dukascopy-node to version 1.5.0? - we've added few safe checks there to fix such errors

Leo4815162342 avatar Mar 17 '21 11:03 Leo4815162342

Hi @Leo4815162342 ,

I narrowed down the problem, they cannot be loaded on 15 min, or 1 hour timeframes. I can only load them on 1 minutes timeframes.

By the way, I have updated the library. Still same results.

Thanks

lezwright avatar Mar 19 '21 11:03 lezwright

@lezwright thanks for the info, I will investigate the issue. Can you also provide the dates (from and to) for your search?

Leo4815162342 avatar Mar 19 '21 11:03 Leo4815162342