duka | duka - Dukascopy historical data downloader | Runtime Evironment library
kandi X-RAY | duka Summary
kandi X-RAY | duka Summary
Finding good Forex data is difficult or expensive. Dukascopy has made available an excellent web tool to download tick data for a large a variety of Forex, CFD and commodities. This is awesome and extremely useful for people, like me, trying to study the Forex market. However, 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. 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 :).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Fetch data from symbol
- Return the average of fetch times
- Calculate progress
- Generator of days from start to end
- Get logger
- Set up the signals
duka Key Features
duka Examples and Code Snippets
Community Discussions
Trending Discussions on duka
QUESTION
I have a kivy application, which needs to download data of the internet at some point during run time, the problem is when the function for downloading data runs the app becomes non responsive, occasionally it can take up to a couple of minutes to download the data. It does later on after downloading the required files continue to work properly, however anyone who doesn't know about this bug would easily exit the app as soon as it goes non responsive.
Here is some sample code:
...ANSWER
Answered 2020-Jun-14 at 11:29Your data download is a blocking function call, so once the app starts doing it it doesn't get around to other normal tasks (checking for input, updating the gui) until it's done.
The simple solution is to do your download in a thread. That means the main thread, which is doing those gui tasks, is not blocked and the app will remain responsive.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install duka
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page