giuse88 / duka

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

-c M1 problem #42

Open Jiraiyah opened 4 years ago

Jiraiyah commented 4 years ago

When I add -c M1 it gives me the error that says error : argument Not a valid Time frame : 1M

How should I add this to get 1 minute chart instead of tick data?

MShoaei commented 3 years ago

Late answer but might help someone, instead of typing the value the way the help function says, type it in this format: {letter}{number} e.g. M15 or H4

acro5piano commented 2 years ago

@MShoaei Thanks very much!

bolbatav commented 2 years ago

It's a very strange issue. I installed duka with pip3 on two PCs, one with Ubuntu, the other with Manjaro. In both cases the help message says -c arguments are of {number}{letter} format. I checked main.py (where help message is supposed to be coming from) and /core/utils.py and they both use {letter}{number} format. So where is this help message even coming from? I've never been so confused.

acro5piano commented 2 years ago

I've moved to the alternative tool:

https://github.com/Leo4815162342/dukascopy-tools