Dukas.Net
Effortlessly download, convert, and export Dukascopy tick data. This package seamlessly transforms proprietary Bi5 tick data into standardized CSV files, providing OHLCV (Open, High, Low, Close, Volume) data resampled to your preferred timeframe resolution. Streamline your data processing with a lightweight, reliable tool.
Install / Use
/learn @tomas-rampas/Dukas.NetREADME
Dukas.Net

Download tick data from Dukascopy and convert it to desired time frame resolution. Dukas.Net is a service wrapper of Bi5.Net nuget package.
Command Line Help
All available verbs and parameters can be enumerated by running help command:
dukas.net --help
Command Line Verbs
|Verb | Description | |:---|:---| |fetch|Fetch and resample tick data for specified products| |resample|Perform resampling of existing tick data without downloading from Dukascopy servers|
Command Line Arguments
Below is a list of all arguments common to all verbs.
|Short | Long | Description | |:---|:---|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |-s|--start-date| Required. Tick data start date | |-e|--end-date| Tick data end date. Current date and time is used when not provided | |-p|--products| Required. Comma-separated list of products (e.g. -p EURUSD,BRENTCMDUSD,DEUIDXEUR,XAUSUD) | |-q|--quote-side| (Default: Bid) Requested quote side. Possible values: Bid, Ask, Both | | |--major-scale| (Default: Day) Time frame major scale. Possible values: Tick, Second, Minute, Hour, Day, Month, Year | | |--minor-scale| (Default: 1) Time frame minor scale | |-o|--output-dir| Required. Output data directory | |-f|--file-scale| (Default: Day). File scale defines the time frequency for data in each file. For example, when FileScale is Day, data will be grouped by day with one file per day. When using --major-scale Day and --file-scale Day, the resulting file will contain one record. Possible values: Hour, Day, Month, Year | |-h|--header| (Default: false) Include header in resulting data file | |-g|--gzip| (Default: false) Compress result | | |--help| Display detailed help screen including all possible verbs | | |--version| Display version information |
Examples
Fetch
Get 1-minute OHLCV Bid and Ask quotes data between January 1, 2020, and December 31, 2020, for the specified products; store gzipped Bid and Ask data in the e:\temp directory. This command also creates a tick data sub-directory for each downloaded product, allowing for later resampling to other time frames.
dukas.net fetch -s "2020-01-01 00:00:00" -e "2020-12-31 23:59:59" -p DEUIDXEUR,GBRIDXGBP,USA30IDXUSD,AUSIDXAUD,LIGHTCMDUSD -o "e:\temp" -q Both --major-scale Minute --minor-scale 1 --file-scale Day --header -g
Resample
The resample command reuses previously fetched tick data to create new time frame resolutions without accessing Dukascopy servers. The following example shows how to generate 10-minute OHLCV Bid and Ask bars. Other settings match the fetch example above.
dukas.net resample -s "2020-01-01 00:00:00" -e "2020-12-31 23:59:59" -p DEUIDXEUR,GBRIDXGBP,USA30IDXUSD,AUSIDXAUD,LIGHTCMDUSD -o "e:\temp" -q Both --major-scale Minute --minor-scale 10 --file-scale Day --header -g
TBC
Bi5.Net
Nuget package for requesting and converting Dukascopy tick data.
I'm aware of lacking proper documentation. However, using the NuGet is quite simple. The NuGet package expects settings passed from command line arguments above through the LoaderConfig.
Simply put, NuGet package requires config to be passed from calling process. the LoaderConfig class replicates all command line arguments.
TBC
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
