{"id":13510735,"url":"https://github.com/giuse88/duka","last_synced_at":"2026-02-06T23:38:17.928Z","repository":{"id":54402177,"uuid":"55841765","full_name":"giuse88/duka","owner":"giuse88","description":" duka - Dukascopy historical data downloader ","archived":false,"fork":false,"pushed_at":"2019-07-15T04:12:53.000Z","size":3769,"stargazers_count":332,"open_issues_count":23,"forks_count":137,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-11-08T07:09:01.780Z","etag":null,"topics":["download-ticks","dukascopy","forex","thread","tick-data"],"latest_commit_sha":null,"homepage":"http://giuse88.github.io/duka","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuse88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-09T11:53:40.000Z","updated_at":"2025-10-30T17:00:43.000Z","dependencies_parsed_at":"2022-08-13T14:31:20.991Z","dependency_job_id":null,"html_url":"https://github.com/giuse88/duka","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/giuse88/duka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse88%2Fduka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse88%2Fduka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse88%2Fduka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse88%2Fduka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuse88","download_url":"https://codeload.github.com/giuse88/duka/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse88%2Fduka/sbom","scorecard":{"id":428546,"data":{"date":"2025-08-11","repo":{"name":"github.com/giuse88/duka","commit":"76415dc6ea41141096c4ca4c50196cc6c077ac30"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T02:48:00.922Z","repository_id":54402177,"created_at":"2025-08-19T02:48:00.922Z","updated_at":"2025-08-19T02:48:00.922Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29180611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T23:15:33.022Z","status":"ssl_error","status_checked_at":"2026-02-06T23:15:09.128Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["download-ticks","dukascopy","forex","thread","tick-data"],"created_at":"2024-08-01T02:01:52.275Z","updated_at":"2026-02-06T23:38:17.908Z","avatar_url":"https://github.com/giuse88.png","language":"Python","readme":"# duka - Dukascopy data downloader [![Build Status](https://travis-ci.org/giuse88/duka.svg?branch=master)](https://travis-ci.org/giuse88/duka)\n\nFinding good Forex data is difficult or expensive. Dukascopy has made available an excellent [web tool](https://www.dukascopy.com/swiss/english/marketwatch/historical/) to download tick data for a large a variety of \nForex, CFD and commodities. This is awesome and extremely useful for people, like me, trying to study the Forex market. \nHowever, it takes a lot of time to download a large data set from the website because you can download only one day per time. In order to solve this issue, I created **duka**.  \n\n**duka** is a small terminal application that can be used to download ticks for a given date range from the Dukascopy historical data feed for one or more symbols. **duka** takes advantage of python threads and coroutine in order to speed up the download. It takes roughly 10m to download tick data for  one year for a given instrument. No bad :)\n\nKey features :\n - Ticks data with volumes\n - Candle formatting with different time-frames ( from 1 minute to 1 day )\n - CSV output\n - multi-thread support\n - Large variety of symbols\n\nThis is what **duka** looks like:\n\n![duka](.img/Screen Shot 2016-04-10 at 20.15.51.png)\n\nAs you can see, **duka** estimates the time left until the download is completed. This is extremely useful when downloading a large data set. \n\n\nI hope you enjoy it!! \n\n\n## Installation\n\n**duka** requires python 3.5 and request 2.0.1. It can be installed using `pip` as follows:\n\n```\npip install duka\n```\n\n## Usage\n```\n usage: duka [options]\n\n positional arguments:\n    SYMBOLS               symbol list using format EURUSD EURGBP \n\n optional arguments:\n     -h           show help message and exit \n     -v           show program's version number and exit\n     -d DAY       specific day format YYYY-MM-DD (default today)\n     -s STARTDATE start date format YYYY-MM-DD (default today)\n     -e ENDDATE   end date format YYYY-MM-DD (default today)\n     -c CANDLE    use candles instead of ticks. Accepted values M1 M2 M5 M10 M15 M30 H1 H4 D1\n     -f FOLDER    the dowloaded data will be saved in FOLDER (default '.')\n     -t THREAD    number of threads (default 10)\n     --header     include CSV header (default false)\n```\n\n## Examples\n\n\n- Help\n\n   ```\n   duka -h\n   ```\n- Download last available tick set (i.e. yesterday if not Saturday ) for `EURUSD` and `GBPUSD` \n\n  ```\n  duka EURUSD GBPUSD \n  ```\n- Download ticks for the `EURUSD` for a specific day\n\n  ``` \n  duka EURUSD -d 2016-02-02\n  ```\n- Download ticks for the `EURUSD` between two dates. For example:\n\n  ```\n  duka EURUSD -s 2015-01-01 -e 2016-12-31 \n  ```\n  download all ticks for the 2015 year\n\n- We can specify only the start date. The default end date will be today. For example:   \n  \n  ```\n  duka EURUSD -s 2016-01-01\n  ```\n  downloads all ticks from the beginning of the year until now. \n\nAll data is saved in the current folder. You can also specify the number of threads to be used by setting the `t` option. \nI recommend not to use too many threads because you might encounter problems opening too many connection to the server. \n\n## Helping \nFound a bug? Missing a feature? Open a issue and I will try to fix it as soon as possible. Pull request are also welcomed. :) \n\n## License\n\nThis software is licensed under the MIT License.\n\nCopyright Giuseppe Pes, 2016.\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to permit\npersons to whom the Software is furnished to do so, subject to the\nfollowing conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\nNO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\nUSE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n","funding_links":[],"categories":["Python","📦 Legacy \u0026 Inactive Projects","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse88%2Fduka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuse88%2Fduka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse88%2Fduka/lists"}