@strong-roots-capital/indicator-record
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

indicator-record Build status npm version

Interface for Records transformed by indicators

Install

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

Use

import IndicatorRecord from '@strong-roots-capital/indicator-record'

The IndicatorRecord interface is defined as

/**
 * Collection of one or more indicator values derived from source
 * time-series record.
 */
interface IndicatorRecord<T = any> {
    /**
     * Context of record data.
     */
    context: RecordContext
    /**
     * Time-series record data.
     */
    record: Record
    /**
     * Map of indicator name and associated values (objects), in a
     * shape analogous to Records.
     */
    indicators: Map<string, T>
}

Related

Package Sidebar

Install

npm i @strong-roots-capital/indicator-record

Weekly Downloads

7

Version

1.0.5

License

ISC

Unpacked Size

4.38 kB

Total Files

4

Last publish

Collaborators

  • amchelle
  • hamroctopus