Skip to main content

Package for gathering financial news from various RSS feeds

Project description

FinNews

This is a package to help me with a personal project dealing with sentiment analysis and headline classification. The package has a lot of influence from the newscatcher package. While that package is great for getting general news, I need more financial related news that I wasn't getting.

You can install using pip by downloading directly from Pypi:

$ pip install FinNews

or from this repo:

$ pip install git+https://github.com/scaratozzolo/FinNews

Example usage:

import FinNews as fn

cnbc_feed = fn.CNBC(topics=['*']) # '*' = all possible topics
print(cnbc_feed.get_news())
print(cnbc_feed.possible_topics())

Current RSS feeds and their classes:

  • CNBC
fn.CNBC(topics=['finance', 'earnings'], save_feeds=True)
  • Seeking Alpha
# SeekingAlpha has support for RSS feeds by ticker, tickers can be passed as a topic and are denoted by $XXX
fn.SeekingAlpha(topics=['financial', '$AAPL'], save_feeds=True)
  • Investing.com
fn.Investing(topics=['all news', 'latest news'], save_feeds=True)
  • WSJ
fn.WSJ(topics=['markets news', 'us business'], save_feeds=True)
  • Yahoo Finance
# Yahoo Finance has support for RSS feeds by ticker, tickers can be passed as a topic and are denoted by $XXX
fn.Yahoo(topics=['top stories', '$DIS'], save_feeds=True)
  • Financial Times
# not a lot of feeds
fn.FT(topics=['*'], save_feeds=True)
  • Fortune
# not a lot of feeds
fn.Fortune(topics=['*'], save_feeds=True)

Todo:

  • CNBC
  • Seeking Alpha
  • Investing.com
  • WSJ
  • Yahoo Finance
  • Financial Times
  • Fortune

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

FinNews-0.9.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

FinNews-0.9.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file FinNews-0.9.2.tar.gz.

File metadata

  • Download URL: FinNews-0.9.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for FinNews-0.9.2.tar.gz
Algorithm Hash digest
SHA256 35b72795ffbea5205521bc3a69ffb8b7f6b1e97aebfa68972b35062fe6196dca
MD5 041e41e460a044e93b6d394fe5dfb55e
BLAKE2b-256 e7597085adb04c5c6781999e1d00c1a366643b11034b254819fba07e747da8a0

See more details on using hashes here.

File details

Details for the file FinNews-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: FinNews-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for FinNews-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01bb61b52d216f955a3acacc608312d814e35db4de63716160efd09760a68753
MD5 278bc2f7fe90134a348d08c005eb3d98
BLAKE2b-256 34d41cb4942c541615ed7ec0fee0dee6fa2e0c0e4b84241e6f1f4554ec872712

See more details on using hashes here.

Supported by

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