Best Financial Portfolio Creator
This project is created for those people who want to generate a passive income or invest their money into world currencies, corporations and stocks. Based on your preferaces and collected/analyzed data, Financial Portfolio Creator generates you a most reliable and profitable collection of stocks for you to invest in. Using this program, you will get a stable yearly income. About the project
Wiki content
Table of content
Instalation and requirements
You can clone this project from repository executing this command for your local git repository - Download the project
$ git clone https://github.com/dlutchyn/HW_cycle
or you can manually download the Zip of this project to your pc.
One way to install requirements for this project is to get them from requirements.txt You need to execute this command in Terminal (you need to execute it from the root directory of the project): - Installing requirements
pip install -r requirements.txt
Another way to install all requirements is to execute the following command:
pip install pandas, matplotlib, flask, yfinance, numpy
Write: - Run the program
python flask_app.py
Program exploitation
- Welcome page
Start creating your financial portfolio
- Creating portfolio
- Select stocks you would like to invest in
- After that type in the number of stocks you are ready to invest (the size of your portfolio)
- Type in the number of days you want the analysis to be held on (the more, the more accurate the analysis will be)
- Submit
- Results
View your results
Input and Output data
The input data is the number of stocks you are willing to invest in (the size of your financial portfolio) and the numer of days you want to have an analysis for (the more days, the more accurate the analysis will be) You also check the boxex of the preferable stocks for investing.
Project Structure
Modules
- getter_data.py - module that gets stock data from the csv files
- processor.py - module that processes all information about stocks from yfinance and analyzes it
- stock_plotting.py - module that plots graphics with analyzed information
Structures
- arrays.py - module with implemented Array ADT
- stock_adt.py - module with implemented Stock ADT
- stock_analyzer.py - module with implemented StockAnalyzer ADT
External Libraries
- yfinance
- numpy
- pandas
- flask
- matplotlib