Package Exports
- @strong-roots-capital/binance-candle-to-record
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@strong-roots-capital/binance-candle-to-record) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
binance-candle-to-record

Map a Binance candle to a talib record
Install
npm install @strong-roots-capital/binance-candle-to-record
Use
import { binanceCandleToRecord } from '@strong-roots-capital/binance-candle-to-record'
const binanceRecord = {
openTime: 1508328900000,
open: '0.05655000',
high: '0.05656500',
low: '0.05613200',
close: '0.05632400',
volume: '68.88800000',
closeTime: 1508329199999,
quoteAssetVolume: '2.29500857',
trades: 85,
baseAssetVolume: '40.61900000'
}
binanceCandleToRecord(binanceRecord)
//=> {
Time: 1508328900000,
Open: 0.05655000,
High: 0.05656500,
Low: 0.05613200,
Close: 0.05632400,
Volume: 68.88800000
}