# candles-sample-vix

> sample OHLCV candles for VVIX from late 2022

Latest version **0.0.1** (published 2023-06-02) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install candles-sample-vix
pnpm add candles-sample-vix
yarn add candles-sample-vix
bun add candles-sample-vix
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2023-06-02 |
| First published | 2023-06-02 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 160.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | stonkpunk |
| Maintainers | stonkpunk |

## Links

- npm: https://www.npmjs.com/package/candles-sample-vix
- Homepage: https://github.com/stonkpunk/my-npm-modules/tree/main/candles-sample-vix
- npm.io page: https://npm.io/package/candles-sample-vix

## Dependencies (2)

- [candles-convert](https://npm.io/package/candles-convert.md) ^0.0.11
- [jsonfile-compressed-brotli](https://npm.io/package/jsonfile-compressed-brotli.md) ^0.0.117

## Recent versions

- 0.0.1 (latest) — 2023-06-02

## README

# candles-sample-vix

Small dataset of historic candles for testing. 

Contains 20,749 ~1-minute OHLCV candles for VVIX from late 2022 

Covers dates [2022-09-21 ... 2022-12-02]

Data may have errors, use at your own risk. 

## Installation

```sh
npm i candles-sample-vix
```

## Usage 

```javascript
var vixMinSample = require('candles-sample-vix').loadMinutes();
//return objs like [{date, open, high, low, close, volume}, ...]
//where date is isoString
//use loadMinutesRaw to get flat array like [[date, open, high, low, close, volume], ...]

//note that volume is always zero

console.log(vixMinSample, vixMinSample.length);

var vix15MinSample = require('candles-sample-vix').loadNMinuteCandles(15);

console.log(vix15MinSample, vix15MinSample.length);
```

[![stonks](https://i.imgur.com/UpDxbfe.png)](https://www.npmjs.com/~stonkpunk)

---
_Source: https://npm.io/package/candles-sample-vix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
