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=['finance', 'earnings', 'business'])
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)
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.6.0.tar.gz
(10.0 kB
view details)
Built Distribution
FinNews-0.6.0-py3-none-any.whl
(12.9 kB
view details)
File details
Details for the file FinNews-0.6.0.tar.gz
.
File metadata
- Download URL: FinNews-0.6.0.tar.gz
- Upload date:
- Size: 10.0 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 | e9abfbbd1db73845318540a7c292c02b3aae3db02dd479cda7e0932e2961161c |
|
MD5 | b5d66210336a17f501cce9177deeb190 |
|
BLAKE2b-256 | 319c8affa615fe7e6a1d093eb55f517cb10673929200bf4352f2ae0ca95d526b |
File details
Details for the file FinNews-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: FinNews-0.6.0-py3-none-any.whl
- Upload date:
- Size: 12.9 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 | ddbba343f196a93a980794d4bcb9d0f15cf7e510154d9634e2db0186f03da157 |
|
MD5 | 948b18cceae072c7d1bf36e82e34a4c9 |
|
BLAKE2b-256 | c780269d34b6099f768744e94df65e3ebdf8b183609fa8dc6bf72e94d6ed3b92 |