We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to get stochasticRSI indicator but I got this TypeError My code is copy from example for test
console.log(await stochasticRSI(3, 3, 14, 14, 'close', input)); ^ TypeError: stochasticRSI is not a function
Did I miss something for make it work?
full code:
const { stochasticRSI, getDetachSourceFromOHLCV } = require('trading-indicator'); const { input } = await getDetachSourceFromOHLCV('binance', 'BTC/USDT', '1h', false); // true if you want to get future market console.log(await stochasticRSI(3, 3, 14, 14, 'close', input));
The text was updated successfully, but these errors were encountered:
@IrisiaIc try use console.log(await stochasticrsi(3, 3, 14, "close", input)), hope that helps.
console.log(await stochasticrsi(3, 3, 14, "close", input))
Sorry, something went wrong.
Can I see your complete code?
No branches or pull requests
I'm trying to get stochasticRSI indicator but I got this TypeError
My code is copy from example for test
Did I miss something for make it work?
full code:
The text was updated successfully, but these errors were encountered: