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
To Do List:
- Scrape ideas section of a symbol
- Export as
csv
file - Export as
JSON
- Scrape indicators status data
etc ... (You suggest)
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-scraper
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
Built Distribution
Close
Hashes for tradingview-scraper-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | effb3554e6657d0d848f500246dbbe1adf2ed05d6b5d69212c09f812796a0bba |
|
MD5 | 539e55a8e4dc98bf33d79ab2996307f1 |
|
BLAKE2b-256 | 80f61db07ba52cf12334638e2e74a42555d6b2a0b37ccdefb2c995d808d5c65b |
Close
Hashes for tradingview_scraper-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a94b1904f932253c3c3c653fcddd4234072daab5a87b420a9866c28194fe40f |
|
MD5 | 77e73dc4b6a43144102b472ad05baf1e |
|
BLAKE2b-256 | 4d485da2effa384a1ca08fb1fbfed2a042b8552f9e4ab96ce261eaf22b8dd9ab |