dukascopy-node
dukascopy-node copied to clipboard
Dukascopy-cli: download more than one instrument
One more question, is it possible to download more than one instrument at the time?
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?
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!
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 hey, there can be multiple reasons for that. Can you share your full search config (with dates and timeframe)?
Hi @Leo4815162342 ,
Here is the screenshot of the error I get for EURDKK
@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
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 thanks for the info, I will investigate the issue. Can you also provide the dates (from and to) for your search?