Tradingview scraper tool
Project description
Tradingview scraper
The goal is to develop this package for scapping anything on https://tradingview.com with realtime response. I would thankful of any contributers
Features
- Scrape idea's informations like: -- Idea's Title -- Idea's symbol -- Idea's timeframe -- Idea's timestamp -- Idea's label -- Idea's social informations -- Idea's description
- Three ways to scrape webpage: -- Scrape just first page -- Scrape all pages -- Scrape specific range of pages
- Save data into a CSV file
Installation
Open your favorite Terminal and run the command:
pip install tradingview_scrape_mnajmi
Examples
from tradingview_scraper import scraper
ClassA.scraper()
Output:
A tuple which includes:
- A pandas dataframe (contains: timeStamp, symbol, timeFrame, label, title, socialInfo)
- A string (Symbol description in the first webpage)
Note:
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 |
License
- MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for tradingview-scraper-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7912d4704e7154e55c1eaf10d7037f7b9049a8b8adff43339fc1a732cd037772 |
|
MD5 | a815fca2cda84533f09cd7c3bd44bd44 |
|
BLAKE2b-256 | c1cb962b333782a99ce39090b43e50911dbeb9eea4e1ed8c002df879d479fe4d |