1.0.4 • Published 2 years ago

trading-view-trends v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Trading view trends

Written on NodeJS with typescript

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

Install

npm i trading-view-trends

Usage

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

const result = await new TradingViewScan(
  SCREENERS_ENUM['crypto'],
  EXCHANGES_ENUM['BINANCE'],
  'BNBUSDT',
  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);