Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aurox/ohlcv-helpers

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurox/ohlcv-helpers - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

6

dist/converters/pricePointListToOHLCV.js

@@ -16,2 +16,8 @@ "use strict";

let previousClose = defaultValue;
// Should there exist an entry in the dataset before the initial time unit, we should use that as previous close
avl.range(0, startOfInitialTimeUnit, node => {
if (node.data) {
previousClose = node.data.price;
}
});
for (let cursor = startOfInitialTimeUnit; cursor <= startOfFinalTimeUnit; cursor += timeUnitDuration) {

@@ -18,0 +24,0 @@ const currentRangeStart = cursor;

2

package.json
{
"name": "@aurox/ohlcv-helpers",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc