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.
Before using this script, make sure you have the following installed:
- Node.js: You can download and install it from Node.js website.
- Clone or download this repository to your local machine.
git clone https://github.com/devzarghami/tradingview-technical-analytic.git
- Navigate to the project directory.
cd tradingview-technical-analytic
- Install the required dependencies.
npm install
- Run the script.
node scraper.js
The script will start scraping the technical analysis data from the specified TradingView URLs.
{
oscillators: [
{
title: 'Relative Strength Index (14)',
value: 72.85561112,
result: 'sell'
},
...
],
movingAverages: [
{
title: 'Exponential Moving Average (10)',
value: 22776.85071884,
result: 'buy'
},
...
]
}
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.
- Special thanks to TradingView for providing valuable technical analysis data.
Happy scraping and trading!
https://www.tradingview.com/symbols/BTCUSDT/technicals/?exchange=BINANCE