Skip to content

devzarghami/tradingview-technical-analytic

Repository files navigation

TradingView Technical Analytic Data Scraper

This Node.js script allows you to scrape technical analysis data from TradingView, a popular charting platform for traders and investors. You can use this data for your own analysis or automate trading-related tasks.

Prerequisites

Before using this script, make sure you have the following installed:

Getting Started

  1. Clone or download this repository to your local machine.
git clone https://github.com/devzarghami/tradingview-technical-analytic.git
  1. Navigate to the project directory.
cd tradingview-technical-analytic
  1. Install the required dependencies.
npm install
  1. Run the script.
node scraper.js

The script will start scraping the technical analysis data from the specified TradingView URLs.

Data Output

tradingview-technical-analysis

{
      oscillators: [
        {
          title: 'Relative Strength Index (14)',
          value: 72.85561112,
          result: 'sell'
        },
        ...
      ],
      movingAverages: [
        {
          title: 'Exponential Moving Average (10)',
          value: 22776.85071884,
          result: 'buy'
        },
        ...
      ]
    }

Customization

You can customize the script to scrape additional data or modify its behavior according to your requirements. The code is well-documented and organized in scraper.js. Feel free to explore and make changes as needed.

Acknowledgments

  • Special thanks to TradingView for providing valuable technical analysis data.

Happy scraping and trading!

https://www.tradingview.com/symbols/BTCUSDT/technicals/?exchange=BINANCE

tradingview-technical-analysis