timeseries-record
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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
}

Related

Index


Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i timeseries-record

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

4.6 kB

Total Files

4

Last publish

Collaborators

  • hamroctopus