Skip to main content

A powerful Python library for scraping real-time market data, indicators, and ideas from TradingView.

Project description

TV Scraper

Python 3.11+ MIT License

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:

📖 Full Documentation

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 Pine and stream them through Streamer.
  • 📋 API Contract: Consistent status/data/metadata/error response 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.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tv_scraper-1.3.2.tar.gz (190.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tv_scraper-1.3.2-py3-none-any.whl (63.4 kB view details)

Uploaded Python 3

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

Hashes for tv_scraper-1.3.2.tar.gz
Algorithm Hash digest
SHA256 ef1d211ef36804a91694a02fefe7be10c50789f5cf5cdfb4bb29ceed3a9a73c7
MD5 00a4ab50483b7b833eb79048e609f6b1
BLAKE2b-256 87108e5e949f6813dccef72f2b7a2d117a5ae4f870bf11cee339a091f357593d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tv_scraper-1.3.2.tar.gz:

Publisher: publish.yml on smitkunpara/tv-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tv_scraper-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee5947add4d393c614dcb0ea520ab89a27e790484b980873ea61204ad6daed0
MD5 634b3f019c26715c4b0ea686c4e28e22
BLAKE2b-256 241fcf77e9cfe29d902c3242a17977075f1a8254f03a5c483326360e089b8bd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tv_scraper-1.3.2-py3-none-any.whl:

Publisher: publish.yml on smitkunpara/tv-scraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page