The goal is to develop this package for scapping anything on https://tradingview.com with realtime response. I would thankful of any contributers
- Scrape idea's informations like:
- Three ways to scrape webpage:
- Save data into a CSV file
Open your favorite Terminal and run the command:
pip install tradingview_scrape_mnajmi
from tradingview_scraper import scraper
ClassA.scraper()
A tuple which includes:
- A pandas dataframe (contains: timeStamp, symbol, timeFrame, label, title, socialInfo)
- A string (Symbol description in the first webpage)
Default arguments are set to:
ClassA.scraper(symbol = 'btc',
wholePage = False,
startPage = 1,
endPage = 2,
to_csv = False)
Argument | Description |
---|---|
symbol | Symbol name |
wholePage | Set it True if you want to scrape all pages |
startPage | Set start page to scrape |
endPage | Set end page to scrape |
to_csv | Set True to save data as a 'CSV' file |
- MIT