var downsidetasukigap =require('
[email protected]').downsidetasukigap;
var drawCandleStick = require('draw-candlestick');
var canvas = require('canvas');
var threeDayInput = {
open: [45.00, 33.45, 30.20],
high: [46.20,34.70,36.63],
close:[41.20,29.31,36.28],
low: [38.56,28,29.80],
}
var imageBuffer = drawCandleStick(threeDayInput);
console.log(imageBuffer);
var result = downsidetasukigap(threeDayInput);
console.log('Is DownsideTasukiGap Pattern? :' +result);