@strong-roots-capital/bitmex-bin-size
v1.0.1
Published
Type definition for BitMEX's concept of bin size
Downloads
5
Readme
bitmex-bin-size
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'