Written on NodeJS with typescript
This package is fully compatible with original python lib: deathlyface/python-tradingview-ta.
npm i trading-view-recommends-parser-nodejs
import {
TradingViewScan,
SCREENERS_ENUM,
EXCHANGES_ENUM,
INTERVALS_ENUM,
} from 'trading-view-recommends-parser-nodejs';
const result = await new TradingViewScan(
SCREENERS_ENUM['crypto'],
EXCHANGES_ENUM['BINANCE'],
'BNBBUSD',
INTERVALS_ENUM['1m'],
// You can pass axios instance. It's optional argument (you can use it for pass custom headers or proxy)
).analyze();
console.log(result);