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)
Todo:
- CNBC
- Seeking Alpha
- Investing.com
- WSJ
- Yahoo Finance
- Financial Times
- Fortune
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
FinNews-0.8.1.tar.gz
(10.7 kB
view details)
Built Distribution
FinNews-0.8.1-py3-none-any.whl
(14.6 kB
view details)
File details
Details for the file FinNews-0.8.1.tar.gz
.
File metadata
- Download URL: FinNews-0.8.1.tar.gz
- Upload date:
- Size: 10.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba429eba4524de6e9cccfc63a7282a53f21fca03e2cc334f22b0be0376243ea0 |
|
MD5 | c638deebcfa4e4c1c344b82a90c7c8a6 |
|
BLAKE2b-256 | a352ad364f928ed7d5ae85c4fd4f03a4306c67f2ca5307e3d57a9446bc67146a |
File details
Details for the file FinNews-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: FinNews-0.8.1-py3-none-any.whl
- Upload date:
- Size: 14.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072e0d87f2747ce4e32d2e9a5dec5b15d3706798dffbbcba35b763aa850c951c |
|
MD5 | ad06a7c2c47c46d0870c3910c7feff1f |
|
BLAKE2b-256 | 2561c98d173b29b0114f6580c1f2e56b083dd569072402b992e26d5279592d07 |