Open Bretto opened 5 years ago
Don't have to do much.
import { RSI } from 'technicalindicators'
// RxJs 5.x
const obs = getCandlesticks()
.map((candlesticks) => {
// ... codes
const opts = {
values: candlesticks.map(x => x.close) // Change to whatever the candle structure is
}
const rsis = RSI.calculate(opts)
// ... code
})
How do you plug those indicators with observable? Examples ?