Skip to main content

The modfin is a Python library, containing a set of tools useful to perform quantitative analysis of financial assets.

Project description

ModFin

python version   pypi version   MIT license  

The ModFin project aims to provide users with the necessary tools for modeling and analyzing individual assets and portfolios. This package contains various modules that provide a variety of useful functions and algorithms. Here is a list of the modules:

Note: Not all modules are fully implemented on live libraries.

Installation

Requirements

ModFin requires Python 3.8 or later and C++ build tools.

If needed, you can install the C++ build tools on Visual Studio.

Methods

The project is available on PyPI, and can be installed with pip package manager with the following command:

$ pip install modfin

Or, you can install the project with conda package manager with the following command:

conda install -c conda-forge modfin

Alternatively, install the package from the source using the following command:

git clone https://github.com/GabrielAbra/modfin
python setup.py install

Analysis of Financial Time Series

Risk Matrix

The Risk Matrix Module provides multiple functions for analyzing time series data and generating risk matrices. There are two different types of algorithms that can be distinguished as Sample, Estimator and Shrinkage algorithms.

Sample Algorithms

  • Covariance
  • SemiCovariance

Estimator Algorithms

  • Minimum Covariance Determinant
  • Empirical Covariance

Shrinkage Algorithms

  • Shrinkage (Basic Shrinkage)
  • LedoitWolf (Ledoit-Wolf Shrinkage Method)
  • Oracle (Oracle Approximating Shrinkage)

Asset Screening

. . .

. .

.

Portfolio Optimization

. . .

. .

.

License

ModFin is released under the MIT license, so the code is open source and can be used in any project, provided that the original author is credited.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modfin-0.1.3.tar.gz (18.3 kB view hashes)

Uploaded Source

Built Distribution

modfin-0.1.3-py3-none-any.whl (23.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page