@strong-roots-capital/bitmex-bin-size
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

bitmex-bin-size Build status npm version

Type definition for BitMEX's concept of bin size

Install

npm install @strong-roots-capital/bitmex-bin-size

Use

import BinSize from '@strong-roots-capital/bitmex-bin-size'
const binSizes: BinSize[] = ['1m', '5m', '1h', '1d']

The BinSize type is defined as

/**
 * Type matching timeframes recognized by BitMEX exchange's API.
 */
type BinSize = '1m' | '5m' | '1h' | '1d'

Acknowledgments

Package Sidebar

Install

npm i @strong-roots-capital/bitmex-bin-size

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

3.58 kB

Total Files

4

Last publish

Collaborators

  • amchelle
  • hamroctopus