Leo4815162342 / dukascopy-node

✨ Download historical price tick data for Crypto, Stocks, ETFs, CFDs, Forex via CLI and Node.js ✨
https://dukascopy-node.app
MIT License
371 stars 68 forks source link

Feedback on Docs (page`/custom-date-format-and-timezone-conversion`) #192

Open gonszalito opened 3 months ago

gonszalito commented 3 months ago

hey i was wondering if u provide live tick updates

Leo4815162342 commented 3 months ago

@gonszalito we have an experimental support for real/live data.

You can view live ticks with getCurrentRates function - https://github.com/Leo4815162342/dukascopy-node/blob/master/src/getCurrentRates.ts:

const { getCurrentRates } = require('dukascopy-node');

getCurrentRates({
  instrument: 'eurusd',
  timeframe: 'tick',
  limit: 10,
}).then(console.log);
gonszalito commented 3 months ago

thx a lot dude