Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianurdaneguibisalaya/pyfinancialanalysis
This Python package allows you to perform financial analysis with just a few lines of code. It not only focuses on mathematical analysis, but also on visual analysis through graphics. Finally, you can generate a dashboard with the most important statistical elements to make decisions.
https://github.com/sebastianurdaneguibisalaya/pyfinancialanalysis
Last synced: 15 days ago
JSON representation
This Python package allows you to perform financial analysis with just a few lines of code. It not only focuses on mathematical analysis, but also on visual analysis through graphics. Finally, you can generate a dashboard with the most important statistical elements to make decisions.
- Host: GitHub
- URL: https://github.com/sebastianurdaneguibisalaya/pyfinancialanalysis
- Owner: SebastianUrdaneguiBisalaya
- License: mit
- Created: 2022-11-05T15:58:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T20:53:15.000Z (about 2 years ago)
- Last Synced: 2024-12-11T21:40:30.536Z (about 1 month ago)
- Language: Python
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **pyFinancialAnalysis** 📊
This Python package 🐍 allows you to perform financial analysis with just a few lines of code 🧑💻. It not only focuses on mathematical analysis, also on visual analysis through graphics. Finally, you can generate a dashboard with the most important statistical elements to make decisions. 📈## **How to create your work environment?**
This package is focused on those who want to be agile in financial analysis using Google Colab as their main tool.
![Logo Google Colaboratory](https://miro.medium.com/max/1400/1*6nKt2fNOIxv4HX_o9-AIVw.png)
1. The first thing you do is open Google Colaboratory in Google Search or Google Drive. That's easy! 😀
* Attached to the link of Google Colaboratory: [Link](https://colab.research.google.com/ "Google Colaboratory").
2. Then, to click the link, you need to create your work environment. So, the first image you will to see is the following:
![Your work environment](https://www.alura.com.br/artigos/assets/google-colab/fig1.png)
3. How do you start your work environment? Well, it's important for you to understand that your work environment is the space where you write your code and Google Colaboratory shows your results. So, Google Colaboratory needs to connect to Python. Easy-going! Just click on the ___"Connect"___ option. That option is located at the top right of your screen.
![Connect Google Colaboraty](https://web.eecs.umich.edu/~justincj/teaching/eecs498/assets/colab-2020/step04.png)### **Ready to work!** 😋
## **How to use this package?**
Before enjoying the features of package, you must install it.
```python
!pip install pyFinancialAnalysis
```
![Install the package](./images/image_1.png)
### **That's all!** 🥳
### You have everything you need to start! 😎
### I recommend that you copy and paste this code into your work environment of Google Colaboratory.
```python
from pyFinancialAnalysis.informations import get_basic_information_company
from pyFinancialAnalysis.informations import get_specific_information
from pyFinancialAnalysis.informations import get_company_stock_information
from pyFinancialAnalysis.informations import find_index_date# Module Analysis
from pyFinancialAnalysis.analysis import stock_growth
from pyFinancialAnalysis.analysis import stock_base_growth
from pyFinancialAnalysis.analysis import average_stock_growth
from pyFinancialAnalysis.analysis import average_stock_growth_base
from pyFinancialAnalysis.analysis import stock_standard_deviation
from pyFinancialAnalysis.analysis import stock_standard_deviation_base
from pyFinancialAnalysis.analysis import stock_variance
from pyFinancialAnalysis.analysis import stock_variance_base# Module Graphics
from pyFinancialAnalysis.graphics import stock_price_graph_linear
from pyFinancialAnalysis.graphics import stock_price_growth_graph
from pyFinancialAnalysis.graphics import stock_price_growth_base_graph
from pyFinancialAnalysis.graphics import stock_chart_candlestick
from pyFinancialAnalysis.graphics import stock_average_growth_graph_bar
from pyFinancialAnalysis.graphics import stock_average_growth_base_graph_bar
from pyFinancialAnalysis.graphics import stock_standard_deviation_graph_bar
from pyFinancialAnalysis.graphics import stock_standard_deviation_base_graph_bar
from pyFinancialAnalysis.graphics import stock_histogram
from pyFinancialAnalysis.graphics import stock_histplot# Module Dashboard
from pyFinancialAnalysis.dashboard import financial_dashboard
```## **Example**
* **You need to obtain information about the closing price of Apple and Amazon stocks from 2022-01-01 to 2022-10-30.**
```
# Call the required module from the package
from pyFinancialAnalysis.informations import get_company_stock_information# Insert the required information in the function
stock_dataframe = get_company_stock_information(["AAPL", "AMZN"], "2022-01-01", "2022-10-30", "Close")
stock_dataframe
```
## **Clever!** 🤓🤓