JSPM

timeseries-record

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q27785F
  • License ISC

Interface for time-series record data

Package Exports

  • timeseries-record

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (timeseries-record) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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