RunKit + npm: dukascopy-node

node v10.24.1
endpointsharetweet
const { getHistoricRates } = require('dukascopy-node'); const data = await getHistoricRates({ instrument: 'btcusd', dates: { from: '2018-01-01', to: '2019-01-01' }, timeframe: 'd1', format: 'json' });
Created from: https://npm.runkit.com/dukascopy-node
Loading…