1.0.1 • Published 5 years ago

@strong-roots-capital/derived-record v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

derived-record Build status npm version

Interface for data derived from time-series record data

Install

npm install @strong-roots-capital/derived-record

Use

import DerivedRecord from '@strong-roots-capital/derived-record'

The DerivedRecord interface is defined as

/**
 * An atomic unit of time-series data.
 */
interface DerivedRecord {
    /**
     * Time that the current Record began, in units of milliseconds
     * elapsed since January 1, 1970.
     */
    Time: number,
    /**
     * Closing value of current Record.
     */
    Close: number
}

Related