Map a d3fc Candle to a talib Record
npm install d3fc-candle-to-record
import candleToRecord from 'd3fc-candle-to-record'
import Candle from 'd3fc-candle'
import Record from 'timeseries-record'
const candle: Candle = getRandomCandle()
const record: Record = candleToRecord(candle)