Socket
Socket
Sign inDemoInstall

timeseries-record

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    timeseries-record

Interface for time-series record data


Version published
Maintainers
1
Install size
5.35 kB
Created

Readme

Source

timeseries-record Build Status npm version npm

Interface for time-series record data

Install

npm install timeseries-record

Use

import Record from 'timeseries-record'

The Record interface is defined as

/**
 * An atomic unit of time-series data.
 *
 * For convenience, this is the same definition of Record as
 * implemented in package `talib-binding`.
 */
interface Record {
    /**
     * Time that the current Record began, in units of milliseconds
     * elapsed since January 1, 1970.
     */
    Time: number,
    /**
     * Opening value of current Record.
     */
    Open: number,
    /**
     * Highest value observed during current Record.
     */
    High: number,
    /**
     * Lowest value observed during current Record.
     */
    Low: number,
    /**
     * Closing value of current Record.
     */
    Close: number,
    /**
     * Volume observed in current Record.
     */
    Volume: number
}

Index


Keywords

FAQs

Last updated on 30 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc