@aurox/ohlcv-helpers
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -117,3 +117,12 @@ "use strict"; | ||
else { | ||
this.data.insert(targetTimeUnit, update); | ||
this.data.insert(targetTimeUnit, { | ||
timeUnitStart: targetTimeUnit, | ||
timeOpen: update.timeOpen, | ||
timeClose: update.timeClose, | ||
open: update.open, | ||
high: update.high, | ||
low: update.low, | ||
close: update.close, | ||
volume: update.volume, | ||
}); | ||
} | ||
@@ -120,0 +129,0 @@ } |
{ | ||
"name": "@aurox/ohlcv-helpers", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
19915
454