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_scrape
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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a43e69d7320fba8d0242eb828761e5c8e1bd98f0b22d48ed33e8f43586ab51c2 |
|
MD5 | d8370f2b39dc3b4a51c1d9ca7ecb7104 |
|
BLAKE2b-256 | 5bf6cd3ae0a91a9bec81216d6a5e5c30b7351710be2fea31cfac0fa853a174c3 |
Close
Hashes for tradingview_scraper-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138e60d8cd2cd8a9848e686aad6f28fbeb5eb0d4f9907237255184ba5f111d50 |
|
MD5 | a9c3b45d7f3b9129d2deea63433bea60 |
|
BLAKE2b-256 | 886b6d5b5d7f258c653fc33258bbb7066fc4ec522b5bf3a7ad9e05a8dc5dfe95 |