1.0.2 • Published 3 years ago

trading-view-recommends-parser v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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