Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielpalassi/financialmarketpython
A variety of tools and resources to help you in your financial endeavors.
https://github.com/gabrielpalassi/financialmarketpython
finance financial-analysis financial-markets python
Last synced: about 1 month ago
JSON representation
A variety of tools and resources to help you in your financial endeavors.
- Host: GitHub
- URL: https://github.com/gabrielpalassi/financialmarketpython
- Owner: gabrielpalassi
- License: gpl-3.0
- Created: 2023-09-27T08:06:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-04T10:08:56.000Z (5 months ago)
- Last Synced: 2024-08-04T11:27:48.570Z (5 months ago)
- Topics: finance, financial-analysis, financial-markets, python
- Language: Python
- Homepage:
- Size: 3.29 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📈 Financial Market Python
Python programs tailored specifically for the world of financial markets, investment analysis, and trading. Whether you're a beginner or an experienced trader, you'll find a variety of tools and resources to help you in your financial endeavors.
## Getting Started
To use the programs in this repository, you'll need Python and a few libraries installed. After having python installed you can install the required libraries as follows:
```bash
pip install -r requirements.txt
```### Running
Clone this repository to your local machine:
```
git clone https://github.com/gabrielpalassi/FinancialMarketPython.git
```Navigate to the repository folder:
```
cd FinancialMarketPython
```Now you're ready to use the programs!
```
python name-of-program.py
```## Programs Overview
Here's an overview of the tools available in this repository (further explanations are available when running the programs):
### Portfolio Backtest
This program downloads historical data for a given portfolio and calculates its cumulative returns.
### Markowitz Portfolio Optimization
Plot the efficient frontier and optimize a portfolio of stocks for highest sharpe ratio, highest return for a given risk or lowest risk for a given return.
### Drawdown Calculator
Plot the drawdown graph and find out the maximum drawdown of individual assets or a portfolio.
### Value at Risk (VaR) Calculator
Calculate the Value at Risk (VaR) of individual assets or a portfolio at different confidence levels.
### Brazilian Central Bank Historical Data
This program provides historical data from the Brazilian Central Bank. It allows users to access and analyze various economic and financial indicators (interest rates, inflation rates and exchange rates).
### Brazilian Central Bank Market Expectations Data
This program provides market expectations data gathered by the Brazilian Central Bank. It allows users to access and analyze various economic and financial indicators (interest rates, inflation rates and exchange rates).
### Last Month Performance Method Backtest
The Last Month Performance Method Backtest program is designed to evaluate the performance of an investment strategy based on the returns of assets in the last month. This model invests in IBOV if it outperformed CDI last month, and vice-versa.
### Moving Average Method Backtest
The Moving Average Method Backtest program is a tool for assessing the performance of an investment strategy that relies on a moving average. This model invests in IBOV if the previous month's closing value was higher than the moving average. In CDI if not.
## Contributing and Contact
We welcome contributions to this repository. If you have ideas for new programs, bug fixes, or improvements, please open an issue or submit a pull request.
If you have any questions, suggestions, or feedback, feel free to reach out to me at my [e-mail](mailto:[email protected]).