giuse88 / duka

duka - Dukascopy historical data downloader
http://giuse88.github.io/duka
MIT License
302 stars 135 forks source link

How to find a list of all the symbols? #22

Closed wardnath closed 7 years ago

wardnath commented 7 years ago

Is there a list somewhere of all the symbols that can be downloaded?

wardnath commented 7 years ago

For example what would be the symbol for us brent crude oil, if any?

giuse88 commented 7 years ago

Hi @wardnath,

Yes, there is. You can find the full list of downloadable products here.

For instance, oil prices can be dowloaded using these two identifiers:

wardnath commented 7 years ago

Thank you @giuse88. To add on to your comment, I've found the symbol name needs to match the naming scheme for the intstrument constants shown here:

https://www.dukascopy.com/client/javadoc/com/dukascopy/api/Instrument.html

for example BRENT.CMD would be BRENTCMDUSD. Not all instruments listed on my link can be downloaded, for example:

$ duka AAPLUSUSD -s 2016-12-01

doesn't work - the symbol needs to be on the link you posted.