bitmex-list-active-instruments
List active instruments trading on BitMEX
Install
npm install @strong-roots-capital/bitmex-list-active-instruments
Use
import listActiveInstruments from '@strong-roots-capital/bitmex-list-active-instruments'
(async () => {
console.log(await listActiveInstruments())
//=> [ 'XRPH19',
// 'BCHH19',
// 'ADAH19',
// 'EOSH19',
// 'TRXH19',
// 'XBTUSD',
// 'XBTH19',
// 'XBTM19',
// 'ETHUSD',
// 'ETHH19',
// 'LTCH19' ]
}) ()