/trading-view-recommends-parser-nodejs

Trading view trading recommends parse- NodeJS

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Trading view stats parser

Written on NodeJS with typescript

This package is fully compatible with original python lib: deathlyface/python-tradingview-ta.

Install

npm i trading-view-recommends-parser-nodejs

Usage

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);