Metadata-Version: 2.1
Name: FinNews
Version: 1.0.1
Summary: Package for gathering financial news from various RSS feeds
Home-page: https://github.com/scaratozzolo/FinNews
Author: Scott Caratozzolo
Author-email: scaratozzolo12@gmail.com
License: UNKNOWN
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](https://github.com/kotartemiy/newscatcher). 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:
        ```python
        import FinNews as fn
        
        cnbc_feed = fn.CNBC(topics=['finance', 'earnings'])
        print(cnbc_feed.get_news())
        print(cnbc_feed.possible_topics())
        
        # Some feeds have support for feeds by ticker, tickers can be passed as a topic and are denoted by $XXX. These feeds will have 'ticker' as a possible topic.
        fn.SeekingAlpha(topics=['financial', '$AAPL'], save_feeds=True)
        
        # You can also pass in '*' to select all possible topic feeds.
        fn.WSJ(topics=['*'], save_feeds=True)
        
        # Selecting all topics will not add specific ticker feeds. You will have to add tickers manually.
        fn.Yahoo(topics=['*']).add_topics(['$DIS', '$GOOG'])
        
        # There is also a Reddit class that allows you to get the rss feed of any subreddit. There are a few feeds established in the package but you can pass through any subreddit like you would a ticker. (r/news = $news)
        fn.Reddit(topics=['$finance', '$news'])
        
        # Each topic is converted into a Feed object. "save_feeds" is a boolean to determine if the previous entries in the feed should be saved or overwritten whenever get_news() is called.
        fn.Investing(topics=['*'], save_feeds=True)
        
        # Current RSS Feeds:
        FinNews.CNBC() # CNBC
        FinNews.SeekingAlpha() # Seeking Alpha*
        FinNews.Investing() # Investing.com
        FinNews.WSJ() # Wall Street Journal
        FinNews.Yahoo() # Yahoo Finance*
        FinNews.FT() # Finance Times
        FinNews.Fortune() # Fortune
        FinNews.MarketWatch() # MarketWatch
        FinNews.Zacks() # Zacks
        FinNews.Nasdaq() # Nasdaq*
        FinNews.Reddit() # Reddit
        
        # (* denotes ticker feed support)
        ```
        
        For all class methods run help(FinNews.CNBC()), help(FinNews.SeekingAlpha()), etc.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
