Unofficial Forex Data Downloader for Dukascopy API!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Files:
- main.py
- bi5-csv.py
- Python 3
- Do a 'pip install' for any packages that you might be missing
Just download and run!
Downloads a range of .bi5 files from Dukascopy
To configure, open main.py and set the ctx
variables at the top of the file as follows:
- cache_loc: Location where files will be downloaded
- session_sym: Symbol to download (e.g. 'EURUSD')
- session_start_date: Date to begin downloading from (e.g. for January 1st 2019: "2019-01-01")
- session_start_hour: Hour to begin downloading (0-23)
- session_duration_hrs: Number of hours worth of data to download (e.g. for 1 week: 24*7)
python .\main.py
Converts (.bi5) files to (.csv) format. --in_file can be a single file or a while directory
python .\bi5-csv.py [-h] --in_file IN_FILE [--out_file OUT_FILE]
hint: After running main.py
, set --in_file
to the same directory as the cache_loc
variable from above.
e.g.)
If main.py
was configured as:
ctx['cache_loc'] = r'C:/Users/<user_name>/FXCACHE/'
you would run:
python .\bi5-csv.py --in_file 'C:/Users/<user_name>/FXCACHE/'
Candlestick Chart icon icon by Icons8