A powerful Python library for scraping real-time market data, indicators, and ideas from TradingView.
Project description
TV Scraper
A powerful, real-time Python library for extracting financial data, indicators, and ideas from TradingView.com.
🔥 New in v1.3.2: Streamer now uses TradingView session cookies for automated indicator authentication. This ensures continuous streaming by automatically renewing expiring tokens and is required for personal Pine script verification.
Attribution
This project is based on mnwato/tradingview-scraper. Thanks to the original author for the foundational work.
📚 Documentation
For complete documentation, installation guides, API references, and examples, visit:
Quick Links
✨ Key Features
- 🕯️ Candle + Indicators: Stream OHLCV candles with built-in/custom indicators via
Streamer.get_candles(). - 📈 Forecast Data: Fetch analyst price targets and EPS/revenue estimates for stocks via
Streamer.get_forecast(). - 💡 Ideas: Scrape community trading ideas with
Ideas. - 🧠 Minds: Access TradingView discussions with
Minds. - 📰 News: Fetch market headlines and filters with
News. - 📉 Options Data: Retrieve option chains, Greeks, implied volatility, and theoretical prices via
Options. - 🔎 Screener: Run market scans with custom fields/filters via
Screener. - 🏁 Market Movers: Track top gainers/losers and actives via
Market Movers. - 📊 Fundamentals: Get financial statements and ratios via
Fundamentals. - 🧩 Pine Workflow: Manage custom scripts with
Pineand stream them throughStreamer. - 📋 API Contract: Consistent
status/data/metadata/errorresponse envelope across modules (API conventions).
🛠️ Development & Testing
For contributors and developers, use the Development Guide:
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
- 🐛 Bug Reports: Open an issue
- 💡 Feature Requests: Start a discussion
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tv_scraper-1.3.2.tar.gz.
File metadata
- Download URL: tv_scraper-1.3.2.tar.gz
- Upload date:
- Size: 190.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef1d211ef36804a91694a02fefe7be10c50789f5cf5cdfb4bb29ceed3a9a73c7
|
|
| MD5 |
00a4ab50483b7b833eb79048e609f6b1
|
|
| BLAKE2b-256 |
87108e5e949f6813dccef72f2b7a2d117a5ae4f870bf11cee339a091f357593d
|
Provenance
The following attestation bundles were made for tv_scraper-1.3.2.tar.gz:
Publisher:
publish.yml on smitkunpara/tv-scraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tv_scraper-1.3.2.tar.gz -
Subject digest:
ef1d211ef36804a91694a02fefe7be10c50789f5cf5cdfb4bb29ceed3a9a73c7 - Sigstore transparency entry: 1225418887
- Sigstore integration time:
-
Permalink:
smitkunpara/tv-scraper@1efc02271ad2cf9e4bd546b557938c01a3629b58 -
Branch / Tag:
refs/tags/v1.3.2 - Owner: https://github.com/smitkunpara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1efc02271ad2cf9e4bd546b557938c01a3629b58 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tv_scraper-1.3.2-py3-none-any.whl.
File metadata
- Download URL: tv_scraper-1.3.2-py3-none-any.whl
- Upload date:
- Size: 63.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee5947add4d393c614dcb0ea520ab89a27e790484b980873ea61204ad6daed0
|
|
| MD5 |
634b3f019c26715c4b0ea686c4e28e22
|
|
| BLAKE2b-256 |
241fcf77e9cfe29d902c3242a17977075f1a8254f03a5c483326360e089b8bd2
|
Provenance
The following attestation bundles were made for tv_scraper-1.3.2-py3-none-any.whl:
Publisher:
publish.yml on smitkunpara/tv-scraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tv_scraper-1.3.2-py3-none-any.whl -
Subject digest:
8ee5947add4d393c614dcb0ea520ab89a27e790484b980873ea61204ad6daed0 - Sigstore transparency entry: 1225418964
- Sigstore integration time:
-
Permalink:
smitkunpara/tv-scraper@1efc02271ad2cf9e4bd546b557938c01a3629b58 -
Branch / Tag:
refs/tags/v1.3.2 - Owner: https://github.com/smitkunpara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1efc02271ad2cf9e4bd546b557938c01a3629b58 -
Trigger Event:
release
-
Statement type: