dukascopy-node-plus 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -3481,7 +3481,7 @@ var instrument_meta_data_default = {
3481
3481
  batusd: {
3482
3482
  name: "BAT/USD",
3483
3483
  description: "Basic Attention Token vs US Dollar",
3484
- decimalFactor: 1e3,
3484
+ decimalFactor: 1e5,
3485
3485
  startHourForTicks: "2019-08-05T00:00:02.214Z",
3486
3486
  startDayForMinuteCandles: "2019-08-05T00:00:00.000Z",
3487
3487
  startMonthForHourlyCandles: "2019-08-05T00:00:00.000Z",
@@ -7433,10 +7433,10 @@ var instrument_meta_data_default = {
7433
7433
  name: "ITA.IDX/EUR",
7434
7434
  description: "Italy 40 Index",
7435
7435
  decimalFactor: 1e3,
7436
- startHourForTicks: "2014-06-02T07:00:33.102Z",
7437
- startDayForMinuteCandles: "2014-06-02T07:00:00.000Z",
7438
- startMonthForHourlyCandles: "2014-06-02T07:00:00.000Z",
7439
- startYearForDailyCandles: "2014-06-02T00:00:00.000Z"
7436
+ startHourForTicks: "2016-07-29T07:00:27.002Z",
7437
+ startDayForMinuteCandles: "2016-07-29T07:00:00.000Z",
7438
+ startMonthForHourlyCandles: "2016-07-29T07:00:00.000Z",
7439
+ startYearForDailyCandles: "2016-07-29T00:00:00.000Z"
7440
7440
  },
7441
7441
  itrkgbgbx: {
7442
7442
  name: "ITRK.GB/GBX",
@@ -8035,7 +8035,7 @@ var instrument_meta_data_default = {
8035
8035
  lnkusd: {
8036
8036
  name: "LNK/USD",
8037
8037
  description: "Chainlink vs US Dollar",
8038
- decimalFactor: 100,
8038
+ decimalFactor: 1e3,
8039
8039
  startHourForTicks: "2000-01-01T00:00:00.000Z",
8040
8040
  startDayForMinuteCandles: "2021-09-25T17:49:00.000Z",
8041
8041
  startMonthForHourlyCandles: "2021-09-25T17:00:00.000Z",
@@ -11788,7 +11788,7 @@ var instrument_meta_data_default = {
11788
11788
  uniusd: {
11789
11789
  name: "UNI/USD",
11790
11790
  description: "Uniswap vs US Dollar",
11791
- decimalFactor: 100,
11791
+ decimalFactor: 1e3,
11792
11792
  startHourForTicks: "2000-01-01T00:00:00.000Z",
11793
11793
  startDayForMinuteCandles: "2021-10-01T00:00:00.000Z",
11794
11794
  startMonthForHourlyCandles: "2021-10-01T00:00:00.000Z",
@@ -13913,7 +13913,7 @@ var import_utc = __toESM(require("dayjs/plugin/utc"));
13913
13913
  var import_timezone = __toESM(require("dayjs/plugin/timezone"));
13914
13914
 
13915
13915
  // package.json
13916
- var version = "1.1.3";
13916
+ var version = "1.1.4";
13917
13917
 
13918
13918
  // src/stream-writer/index.ts
13919
13919
  var import_fs = __toESM(require("fs"));
@@ -10,7 +10,7 @@ import {
10
10
  normaliseDates,
11
11
  processData,
12
12
  validateConfigNode
13
- } from "./chunk-NHIUTTTM.js";
13
+ } from "./chunk-Z4O2KLFU.js";
14
14
 
15
15
  // src/getHistoricalRatesToStream.ts
16
16
  import debug from "debug";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./chunk-5PZO2PCC.js";
3
+ } from "./chunk-VHVSB2KI.js";
4
4
  import {
5
5
  formatOutput
6
6
  } from "./chunk-476J4KQE.js";
@@ -12,7 +12,7 @@ import {
12
12
  normaliseDates,
13
13
  processData,
14
14
  validateConfigNode
15
- } from "./chunk-NHIUTTTM.js";
15
+ } from "./chunk-Z4O2KLFU.js";
16
16
 
17
17
  // src/getHistoricalRates.ts
18
18
  import debug from "debug";
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "1.1.3";
2
+ var version = "1.1.4";
3
3
 
4
4
  export {
5
5
  version
@@ -3371,7 +3371,7 @@ var instrument_meta_data_default = {
3371
3371
  batusd: {
3372
3372
  name: "BAT/USD",
3373
3373
  description: "Basic Attention Token vs US Dollar",
3374
- decimalFactor: 1e3,
3374
+ decimalFactor: 1e5,
3375
3375
  startHourForTicks: "2019-08-05T00:00:02.214Z",
3376
3376
  startDayForMinuteCandles: "2019-08-05T00:00:00.000Z",
3377
3377
  startMonthForHourlyCandles: "2019-08-05T00:00:00.000Z",
@@ -7323,10 +7323,10 @@ var instrument_meta_data_default = {
7323
7323
  name: "ITA.IDX/EUR",
7324
7324
  description: "Italy 40 Index",
7325
7325
  decimalFactor: 1e3,
7326
- startHourForTicks: "2014-06-02T07:00:33.102Z",
7327
- startDayForMinuteCandles: "2014-06-02T07:00:00.000Z",
7328
- startMonthForHourlyCandles: "2014-06-02T07:00:00.000Z",
7329
- startYearForDailyCandles: "2014-06-02T00:00:00.000Z"
7326
+ startHourForTicks: "2016-07-29T07:00:27.002Z",
7327
+ startDayForMinuteCandles: "2016-07-29T07:00:00.000Z",
7328
+ startMonthForHourlyCandles: "2016-07-29T07:00:00.000Z",
7329
+ startYearForDailyCandles: "2016-07-29T00:00:00.000Z"
7330
7330
  },
7331
7331
  itrkgbgbx: {
7332
7332
  name: "ITRK.GB/GBX",
@@ -7925,7 +7925,7 @@ var instrument_meta_data_default = {
7925
7925
  lnkusd: {
7926
7926
  name: "LNK/USD",
7927
7927
  description: "Chainlink vs US Dollar",
7928
- decimalFactor: 100,
7928
+ decimalFactor: 1e3,
7929
7929
  startHourForTicks: "2000-01-01T00:00:00.000Z",
7930
7930
  startDayForMinuteCandles: "2021-09-25T17:49:00.000Z",
7931
7931
  startMonthForHourlyCandles: "2021-09-25T17:00:00.000Z",
@@ -11678,7 +11678,7 @@ var instrument_meta_data_default = {
11678
11678
  uniusd: {
11679
11679
  name: "UNI/USD",
11680
11680
  description: "Uniswap vs US Dollar",
11681
- decimalFactor: 100,
11681
+ decimalFactor: 1e3,
11682
11682
  startHourForTicks: "2000-01-01T00:00:00.000Z",
11683
11683
  startDayForMinuteCandles: "2021-10-01T00:00:00.000Z",
11684
11684
  startMonthForHourlyCandles: "2021-10-01T00:00:00.000Z",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  version
4
- } from "../chunk-5PZO2PCC.js";
4
+ } from "../chunk-VHVSB2KI.js";
5
5
  import {
6
6
  BufferFetcher,
7
7
  CacheManager,
@@ -16,7 +16,7 @@ import {
16
16
  processData,
17
17
  schema,
18
18
  validateConfig
19
- } from "../chunk-NHIUTTTM.js";
19
+ } from "../chunk-Z4O2KLFU.js";
20
20
 
21
21
  // src/cli/cli.ts
22
22
  import { resolve, join } from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getHistoricalRates
3
- } from "./chunk-X3XEJCND.js";
4
- import "./chunk-5PZO2PCC.js";
3
+ } from "./chunk-KAQS2RYD.js";
4
+ import "./chunk-VHVSB2KI.js";
5
5
  import "./chunk-476J4KQE.js";
6
- import "./chunk-NHIUTTTM.js";
6
+ import "./chunk-Z4O2KLFU.js";
7
7
 
8
8
  // src/index.example.nostream.ts
9
9
  var printMemory = () => {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getHistoricalRatesToStream
3
- } from "./chunk-E245CVDJ.js";
3
+ } from "./chunk-EN4CESUH.js";
4
4
  import "./chunk-476J4KQE.js";
5
- import "./chunk-NHIUTTTM.js";
5
+ import "./chunk-Z4O2KLFU.js";
6
6
 
7
7
  // src/index.example.stream.ts
8
8
  var printMemory = () => {
package/dist/esm/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getHistoricalRatesToStream
3
- } from "./chunk-E245CVDJ.js";
3
+ } from "./chunk-EN4CESUH.js";
4
4
  import {
5
5
  getHistoricRates,
6
6
  getHistoricalRates
7
- } from "./chunk-X3XEJCND.js";
8
- import "./chunk-5PZO2PCC.js";
7
+ } from "./chunk-KAQS2RYD.js";
8
+ import "./chunk-VHVSB2KI.js";
9
9
  import {
10
10
  formatOutput
11
11
  } from "./chunk-476J4KQE.js";
@@ -25,7 +25,7 @@ import {
25
25
  schema,
26
26
  validateConfig,
27
27
  validateConfigNode
28
- } from "./chunk-NHIUTTTM.js";
28
+ } from "./chunk-Z4O2KLFU.js";
29
29
 
30
30
  // src/index.ts
31
31
  import { RuleDate, RuleBoolean, RuleNumber, RuleString, RuleObject } from "fastest-validator";
@@ -3389,7 +3389,7 @@ var instrument_meta_data_default = {
3389
3389
  batusd: {
3390
3390
  name: "BAT/USD",
3391
3391
  description: "Basic Attention Token vs US Dollar",
3392
- decimalFactor: 1e3,
3392
+ decimalFactor: 1e5,
3393
3393
  startHourForTicks: "2019-08-05T00:00:02.214Z",
3394
3394
  startDayForMinuteCandles: "2019-08-05T00:00:00.000Z",
3395
3395
  startMonthForHourlyCandles: "2019-08-05T00:00:00.000Z",
@@ -7341,10 +7341,10 @@ var instrument_meta_data_default = {
7341
7341
  name: "ITA.IDX/EUR",
7342
7342
  description: "Italy 40 Index",
7343
7343
  decimalFactor: 1e3,
7344
- startHourForTicks: "2014-06-02T07:00:33.102Z",
7345
- startDayForMinuteCandles: "2014-06-02T07:00:00.000Z",
7346
- startMonthForHourlyCandles: "2014-06-02T07:00:00.000Z",
7347
- startYearForDailyCandles: "2014-06-02T00:00:00.000Z"
7344
+ startHourForTicks: "2016-07-29T07:00:27.002Z",
7345
+ startDayForMinuteCandles: "2016-07-29T07:00:00.000Z",
7346
+ startMonthForHourlyCandles: "2016-07-29T07:00:00.000Z",
7347
+ startYearForDailyCandles: "2016-07-29T00:00:00.000Z"
7348
7348
  },
7349
7349
  itrkgbgbx: {
7350
7350
  name: "ITRK.GB/GBX",
@@ -7943,7 +7943,7 @@ var instrument_meta_data_default = {
7943
7943
  lnkusd: {
7944
7944
  name: "LNK/USD",
7945
7945
  description: "Chainlink vs US Dollar",
7946
- decimalFactor: 100,
7946
+ decimalFactor: 1e3,
7947
7947
  startHourForTicks: "2000-01-01T00:00:00.000Z",
7948
7948
  startDayForMinuteCandles: "2021-09-25T17:49:00.000Z",
7949
7949
  startMonthForHourlyCandles: "2021-09-25T17:00:00.000Z",
@@ -11696,7 +11696,7 @@ var instrument_meta_data_default = {
11696
11696
  uniusd: {
11697
11697
  name: "UNI/USD",
11698
11698
  description: "Uniswap vs US Dollar",
11699
- decimalFactor: 100,
11699
+ decimalFactor: 1e3,
11700
11700
  startHourForTicks: "2000-01-01T00:00:00.000Z",
11701
11701
  startDayForMinuteCandles: "2021-10-01T00:00:00.000Z",
11702
11702
  startMonthForHourlyCandles: "2021-10-01T00:00:00.000Z",
@@ -13758,7 +13758,7 @@ function formatBytes(bytes, decimals = 2) {
13758
13758
  }
13759
13759
 
13760
13760
  // package.json
13761
- var version = "1.1.3";
13761
+ var version = "1.1.4";
13762
13762
 
13763
13763
  // src/getHistoricalRates.ts
13764
13764
  var import_debug = __toESM(require("debug"));
@@ -3389,7 +3389,7 @@ var instrument_meta_data_default = {
3389
3389
  batusd: {
3390
3390
  name: "BAT/USD",
3391
3391
  description: "Basic Attention Token vs US Dollar",
3392
- decimalFactor: 1e3,
3392
+ decimalFactor: 1e5,
3393
3393
  startHourForTicks: "2019-08-05T00:00:02.214Z",
3394
3394
  startDayForMinuteCandles: "2019-08-05T00:00:00.000Z",
3395
3395
  startMonthForHourlyCandles: "2019-08-05T00:00:00.000Z",
@@ -7341,10 +7341,10 @@ var instrument_meta_data_default = {
7341
7341
  name: "ITA.IDX/EUR",
7342
7342
  description: "Italy 40 Index",
7343
7343
  decimalFactor: 1e3,
7344
- startHourForTicks: "2014-06-02T07:00:33.102Z",
7345
- startDayForMinuteCandles: "2014-06-02T07:00:00.000Z",
7346
- startMonthForHourlyCandles: "2014-06-02T07:00:00.000Z",
7347
- startYearForDailyCandles: "2014-06-02T00:00:00.000Z"
7344
+ startHourForTicks: "2016-07-29T07:00:27.002Z",
7345
+ startDayForMinuteCandles: "2016-07-29T07:00:00.000Z",
7346
+ startMonthForHourlyCandles: "2016-07-29T07:00:00.000Z",
7347
+ startYearForDailyCandles: "2016-07-29T00:00:00.000Z"
7348
7348
  },
7349
7349
  itrkgbgbx: {
7350
7350
  name: "ITRK.GB/GBX",
@@ -7943,7 +7943,7 @@ var instrument_meta_data_default = {
7943
7943
  lnkusd: {
7944
7944
  name: "LNK/USD",
7945
7945
  description: "Chainlink vs US Dollar",
7946
- decimalFactor: 100,
7946
+ decimalFactor: 1e3,
7947
7947
  startHourForTicks: "2000-01-01T00:00:00.000Z",
7948
7948
  startDayForMinuteCandles: "2021-09-25T17:49:00.000Z",
7949
7949
  startMonthForHourlyCandles: "2021-09-25T17:00:00.000Z",
@@ -11696,7 +11696,7 @@ var instrument_meta_data_default = {
11696
11696
  uniusd: {
11697
11697
  name: "UNI/USD",
11698
11698
  description: "Uniswap vs US Dollar",
11699
- decimalFactor: 100,
11699
+ decimalFactor: 1e3,
11700
11700
  startHourForTicks: "2000-01-01T00:00:00.000Z",
11701
11701
  startDayForMinuteCandles: "2021-10-01T00:00:00.000Z",
11702
11702
  startMonthForHourlyCandles: "2021-10-01T00:00:00.000Z",
package/dist/index.js CHANGED
@@ -3425,7 +3425,7 @@ var instrument_meta_data_default = {
3425
3425
  batusd: {
3426
3426
  name: "BAT/USD",
3427
3427
  description: "Basic Attention Token vs US Dollar",
3428
- decimalFactor: 1e3,
3428
+ decimalFactor: 1e5,
3429
3429
  startHourForTicks: "2019-08-05T00:00:02.214Z",
3430
3430
  startDayForMinuteCandles: "2019-08-05T00:00:00.000Z",
3431
3431
  startMonthForHourlyCandles: "2019-08-05T00:00:00.000Z",
@@ -7377,10 +7377,10 @@ var instrument_meta_data_default = {
7377
7377
  name: "ITA.IDX/EUR",
7378
7378
  description: "Italy 40 Index",
7379
7379
  decimalFactor: 1e3,
7380
- startHourForTicks: "2014-06-02T07:00:33.102Z",
7381
- startDayForMinuteCandles: "2014-06-02T07:00:00.000Z",
7382
- startMonthForHourlyCandles: "2014-06-02T07:00:00.000Z",
7383
- startYearForDailyCandles: "2014-06-02T00:00:00.000Z"
7380
+ startHourForTicks: "2016-07-29T07:00:27.002Z",
7381
+ startDayForMinuteCandles: "2016-07-29T07:00:00.000Z",
7382
+ startMonthForHourlyCandles: "2016-07-29T07:00:00.000Z",
7383
+ startYearForDailyCandles: "2016-07-29T00:00:00.000Z"
7384
7384
  },
7385
7385
  itrkgbgbx: {
7386
7386
  name: "ITRK.GB/GBX",
@@ -7979,7 +7979,7 @@ var instrument_meta_data_default = {
7979
7979
  lnkusd: {
7980
7980
  name: "LNK/USD",
7981
7981
  description: "Chainlink vs US Dollar",
7982
- decimalFactor: 100,
7982
+ decimalFactor: 1e3,
7983
7983
  startHourForTicks: "2000-01-01T00:00:00.000Z",
7984
7984
  startDayForMinuteCandles: "2021-09-25T17:49:00.000Z",
7985
7985
  startMonthForHourlyCandles: "2021-09-25T17:00:00.000Z",
@@ -11732,7 +11732,7 @@ var instrument_meta_data_default = {
11732
11732
  uniusd: {
11733
11733
  name: "UNI/USD",
11734
11734
  description: "Uniswap vs US Dollar",
11735
- decimalFactor: 100,
11735
+ decimalFactor: 1e3,
11736
11736
  startHourForTicks: "2000-01-01T00:00:00.000Z",
11737
11737
  startDayForMinuteCandles: "2021-10-01T00:00:00.000Z",
11738
11738
  startMonthForHourlyCandles: "2021-10-01T00:00:00.000Z",
@@ -13797,7 +13797,7 @@ function formatBytes(bytes, decimals = 2) {
13797
13797
  }
13798
13798
 
13799
13799
  // package.json
13800
- var version = "1.1.3";
13800
+ var version = "1.1.4";
13801
13801
 
13802
13802
  // src/getHistoricalRates.ts
13803
13803
  var import_debug = __toESM(require("debug"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dukascopy-node-plus",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Node.js library for downloading historical market tick data for for Crypto, Stocks, ETFs, CFDs, Forex",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",