Loading repository data…
Loading repository data…
Finn-Discord-Bot / repository
An all-in-one financial analytics and smart portfolio creator as a Discord bot!
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A one-of-a-kind FINNancial analytics Discord bot!
Finn is a bot that seeks to provide a multitude of features to improve financial literacy and smoothen the learning curve that beginners may face coming into finance. By accessing Yahoo Finance’s python library, Finn can provide a wide range of key statistics that new or experienced investors may need when assessing whether to invest in a company. Finn can also help you plan and build a portfolio based on what you need! If you input a list of stock tickers, Finn will algorithmically produce a weighted portfolio of a specified type for your use.
To get a local copy up and running follow these simple steps.
This is an example of how to list things you need to use the software and how to install them.
3.8.x, pip3Update before installing new packages
sudo apt-get update
Check Python version
python3 --version
If Python version < 3.8
sudo apt install python3.8
Validate
python3.8 --version
Install pip3
sudo apt-get -y install python3-pip
Validate
pip3 --version
git clone https://github.com/Finn-Discord-Bot/finn.git
cd into repo directory
cd finn
pip3 install -r requirements.txt
portfoliossecure-connect-database-name.zip to main directory.config.json
config.jsonpython3 main.py
/help Provides a list of all possible commands
Stock Commands
/companyinfo takes in a single ticker and displays the Company Location, Company Industry, and Market Capitalization of the specified ticker./stockinfo takes in a single ticker and displays various financial statistics about the specified ticker/stockhistory takes in a single ticker, a start date, and an end date. It displays the tickers historical values over the specified date range.Finance Commands
/lasttradingday displays the last date where trading has occured./options takes in a single ticker, a range, and the option type (call or put). The range indicates how close the user will like the options to be to the current stock price. The option type indicates if the user wants to see calls or puts.Portfolio Commands
/createportfolio takes in a portfolio type, a list of tickers, and the starting capital. There are various types of portfolios. Equally Weighted produces a portfolio of equal weight amongst the tickers. Price Weighted weighs the tickers by the share price. Market-Capitalization Weighted weighs the tickers based off of the market capitalization of each ticker. Risky Smart Weighted weighs the tickers by considering the underlying risk of the ticker, compared to the greatest possible return. This portfolio is expected to have the greatest value movements, which may be in either direction. Safe Smart Weighted weighs the tickers by considering the overall risk of each ticker. It gives precedence to the tickers whos risk is lowest. This portfoli is expected to have the least value movements. The starting capital is the amount of cash the user wants to create the portfolio with. Every user can create their own portfolio, and will be stored seperately/displayportfolio displays the current users portfolio./addstock takes in a ticker and the quantity of shares. It adds the specified shares to the users portfolio./removestock takes in a ticker and removes it from the users portfolio./cleartable clears the users current portfolio.For more examples, please refer to the Demo
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MIT License. See LICENSE for more information.
Timothy Zheng - Linkedin - timothyzheng123@gmail.com
Ethan Misa - Linkedin - ethan.misa@gmail.com
Karen Huang - Linkedin - karen.kl.huang@gmail.com
Daniel Jiang - Linkedin - danieljiang378@gmail.com
Vanessa Liu - Linkedin - vanessaliu014@gmail.com
Daniel Kim - Linkedin - danielkim1345@gmail.com
Yuqian Lin - Linkedin - yuqianlintsks502@gmail.com
Victoria Zhao - Linkedin - victoria17zhao@gmail.com
Jacky Xu - Linkedin - jacky.x0423@gmail.com
Devpost Link: https://devpost.com/software/finn-u7hden