A powerful Python library for scraping real-time market data, indicators, and ideas from TradingView.
Project description
TV Scraper
A high-performance Python library for extracting real-time financial data, technical indicators, and social insights from TradingView.
✨ Features
📡 Real-Time Streaming
- 🕯️ Candle + Indicators: Stream live OHLCV candles with built-in or custom Pine indicators via
CandleStreamer. - ⚡ Real-time Pricing: Persistent WebSocket connection for millisecond-accurate price updates.
- 📊 Analyst Forecasts: Capture analyst price targets, EPS, and revenue estimates for stocks via
ForecastStreamer.
📉 Financial & Technical Data
- 🧩 Technical Analysis: Access RSI, MACD, EMAs, and 100+ other indicators via
Technicals. - 🏛️ Fundamentals: Comprehensive financial statements, ratios, and balance sheets via
Fundamentals. - ⛓️ Options Data: Retrieve full option chains, Greeks, IV, and theoretical prices via
Options. - 📅 Events Calendar: Track Earnings, Dividends, IPOs, and Economic events via
Calendar.
🔍 Discovery & Screening
- 🔎 Screener: Run advanced market scans with custom filters across 50+ countries via
Screener. - 🏁 Market Movers: Track top gainers, losers, and most active stocks via
Market Movers. - 🌍 Global Markets: Discover symbols across exchanges and asset classes via
Markets.
🤝 Social & Community
- 💡 Trading Ideas: Scrape community-driven trading setups and technical ideas via
Ideas. - 🧠 Heads-up (Minds): Access real-time discussions and community posts via
Minds. - 📰 News Feed: Integrated news stream with granular filters by symbol or region via
News.
🚀 Quick Start
from tv_scraper.streaming import CandleStreamer
# Initialize the streamer
streamer = CandleStreamer()
# Fetch real-time candles and indicators
result = streamer.get_candles(
exchange="BINANCE",
symbol="BTCUSDT",
timeframe="1m",
numb_candles=5,
indicators=[("STD;RSI", "1.0")]
)
if result["status"] == "success":
print(result["data"]["ohlcv"])
📚 Documentation
For complete documentation, installation guides, and API references, visit:
Key Resource Links
🛠️ Development & Contributing
We welcome contributions! Please see our Contributing Guide for details.
- 🐛 Bug Reports: Open an issue
- 💡 Feature Requests: Start a discussion
📄 License
Licensed under the MIT License.
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.4.2.tar.gz.
File metadata
- Download URL: tv_scraper-1.4.2.tar.gz
- Upload date:
- Size: 826.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f982d0de4f0c78146aa445bbd9928c4302014a111a08d3fe9a3f81643eec8c9
|
|
| MD5 |
a4ae5938dae2fec21c3a3f4aeeb0f45e
|
|
| BLAKE2b-256 |
81b8a0b682dd43babd4d67cee68eccb7854628d4a83254dcc0ee4b1e737026f6
|
Provenance
The following attestation bundles were made for tv_scraper-1.4.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.4.2.tar.gz -
Subject digest:
0f982d0de4f0c78146aa445bbd9928c4302014a111a08d3fe9a3f81643eec8c9 - Sigstore transparency entry: 1359214809
- Sigstore integration time:
-
Permalink:
smitkunpara/tv-scraper@0a8609956fce03fb70f19ca1f5c2b13c30a40d39 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/smitkunpara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a8609956fce03fb70f19ca1f5c2b13c30a40d39 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tv_scraper-1.4.2-py3-none-any.whl.
File metadata
- Download URL: tv_scraper-1.4.2-py3-none-any.whl
- Upload date:
- Size: 66.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f493ad292f1c85caa18cadf522215dcfcd3d37c2701d31d93125a31d7fbcb65
|
|
| MD5 |
16a45fd0d0b2ce1e43dd6f68ebd27dbb
|
|
| BLAKE2b-256 |
40ee6587499b4c7ae56513793621e06e78d8725ea1ff737c8f04b53fb21e89d9
|
Provenance
The following attestation bundles were made for tv_scraper-1.4.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.4.2-py3-none-any.whl -
Subject digest:
9f493ad292f1c85caa18cadf522215dcfcd3d37c2701d31d93125a31d7fbcb65 - Sigstore transparency entry: 1359214837
- Sigstore integration time:
-
Permalink:
smitkunpara/tv-scraper@0a8609956fce03fb70f19ca1f5c2b13c30a40d39 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/smitkunpara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a8609956fce03fb70f19ca1f5c2b13c30a40d39 -
Trigger Event:
release
-
Statement type: