KalanaPerera / trading-view-recommends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trading view stats parser serverless

Written on NodeJS with typescript

This package is fully compatible with original python lib: deathlyface/python-tradingview-ta. Node Js version from here: https://github.com/tvorilas/trading-view-recommends-parser-nodejs

Install

npm i trading-view-recommends

Usage

import {
  TradingViewScan,
  SCREENERS_ENUM,
  EXCHANGES_ENUM,
  INTERVALS_ENUM,
} from 'trading-view-recommends';

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

About

License:Apache License 2.0


Languages

Language:TypeScript 97.8%Language:JavaScript 2.2%