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

1.0.1 • Public • Published

record-context Build status npm version

Interface definition of the context of a timeseries-record

Install

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

Use

import RecordContext from '@strong-roots-capital/record-context'

The RecordContext interface is defined as

/**
 * Context of a timeseries `Record`.
 */
export default interface RecordContext {
    /**
     * Timeframe of `Record` denominated in minutes.
     */
    timeframe: number
    /**
     * Concatenation of both asset-names available for trade.
     *
     * @remarks
     * The second asset-name in `tradepair` will be the same units in
     * which associated `Record`s prices are valued.
     */
    tradepair: string
    /**
     * Name of exchange from which `Record` was collected.
     */
    exchange: string
}

Related

Package Sidebar

Install

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

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

4.33 kB

Total Files

4

Last publish

Collaborators

  • amchelle
  • hamroctopus