-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
hello,i just use the bellow code,the the error

anything i missed? how can i fixed it.
my code is :
async function test(){
const { atr, getDetachSourceFromOHLCV } = require('trading-indicator')
const { input } = await getDetachSourceFromOHLCV('binance', 'BTC/USDT', '1h', false) // true if you want to get future market
console.log(input);
let atrData = await atr(14, "close", input)
console.log(atrData[atrData.length - 1])
}
(async function(){
// await ready()
await test()
})();
Metadata
Metadata
Assignees
Labels
No labels