1.0.1 • Published 5 years ago

@strong-roots-capital/bitmex-bin-size v1.0.1

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

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