Historical market tick and OHLC
Data Download Tool
A free, open-source Node.js library and CLI that downloads tick and candle data for forex, stocks, crypto, commodities, indices and more, as CSV or JSON.
npx dukascopy-node -i eurusd -from 2024-01-01 -t d1 -f csv - instruments across 8 asset classes
- 1,499
- timeframes, from single ticks to monthly candles
- 10
- output formats: CSV, JSON and arrays
- 3
- earliest daily candles, for EUR/USD
- 1973
Why dukascopy-node
Fast, granular and easy to use
Get every tick, or candles from one second to one month, with one command in your terminal or one function call in Node.js.
-
1,499 instruments
Forex, stocks, indices, commodities, crypto, ETFs and bonds, each with a simple id such as eurusd.
-
Ticks to months
Every price change, or candles from one second to one month, with bid or ask prices.
-
CSV, JSON or arrays
Files ready for spreadsheets, pandas or a database, or plain arrays to use in code.
-
Terminal or code
Download a file with one npx command, or import the library and get the data back in Node.js.
-
Real-time data
Fetch the latest ticks and candles, including the one that is still forming.
-
TypeScript native
Typed configs and results, with every instrument id autocompleted in your editor.
Instruments
1,499 instruments
Forex pairs to blue-chip stocks. Pick one, copy its id, download.
Open source
Free to use, MIT licensed
Install it, read the source, open an issue or send a pull request. If dukascopy-node saves you time, give it a star on GitHub: it helps other developers find the project.
npm install dukascopy-nodepnpm add dukascopy-nodeyarn add dukascopy-node77.6K npm downloads last month