Skip to main content

A finance news aggregator used to collect articles on different market topics.

Project description

Finance News Aggregator

Table of Contents

Overview

Current Version: 0.1.2

Investors use news articles to gain an idea of market sentiment and hopefully be able to predict the direction of markets based on the sentiment of these articles and how they are published. The finnews library is designed to help the collection of news articles related to business topics and market news easy and efficient.

Setup

To install the library, run the following command from the terminal.

pip install fin-news

To upgrade the library, run the following command from the terminal.

pip install --upgrade fin-news

Usage

Here is a simple example of using the finnews library to to grab the top stories on CNBC.

from pprint import pprint
from finnews.client import News

# Create a new instance of the News Client.
news_client = News()

# Grab the CNBC News Client.
cnbc_news_client = news_client.cnbc

# Grab the top news.
cbnc_top_news = cnbc_news_client.news_feed(topic='top_news')

# Print it.
pprint(cbnc_top_news)

Support These Projects

Patreon: Help support this project and future projects by donating to my Patreon Page. I'm always looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.

YouTube: If you'd like to watch more of my content, feel free to visit my YouTube channel Sigma Coding.

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

fin-news-0.1.2.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

fin_news-0.1.2-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

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