d3fc-candle-to-record
v1.0.2
Published
Map a d3fc Candle to a talib Record
Downloads
1
Readme
d3fc-candle-to-record
Map a d3fc Candle to a talib Record
Install
npm install d3fc-candle-to-record
Use
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)