var bearishspinningtop =require('technicalindicators@1.0.5').bearishspinningtop;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var input = {
open: [20.62],
high: [20.75],
close: [20.50],
low: [20.34],
}
var imageBuffer = drawCandleStick(input);
console.log(imageBuffer);
var result = bearishspinningtop(input);
console.log('Is Bearish Spinning Top Pattern? :' +result);