Useful Python libraries for Finance. Part 2
--
This article will extend the “Useful Python libraries for Finance. Part 1” article, with Python libraries for Finance.
Portfolio Management
Empyrial
Simple portfolio management, and rebalancing library for Python. It provides performance and risk analysis of financial portfolios, including backtesting and live trading strategies, with a focus on simplicity and ease of use.
Link: https://github.com/ssantoshp/Empyrial
Riskfolio
A great library that automates portfolio management and simplifies portfolio optimization.
Link: https://riskfolio-lib.readthedocs.io/en/latest/, https://github.com/dcajasn/Riskfolio-Lib
Pyfolio
Another great library that would help portfolio managers analyze and optimize their portfolios. Is used for analyzing and evaluating portfolio performance, including risk and return analysis, and generating performance reports.
Link: https://github.com/quantopian/pyfolio,
TIA
TIA is a Python library designed for financial data analysis, including portfolio management and performance attribution.
Link: https://pypi.org/project/tia/, https://github.com/bpsmith/tia
Backtesting
Backtesting.py
A simple event-driven backtesting library for python based on the Backtrader library that supports backtesting of trading strategies using historical price data. It also provides a suite of tools for performance analysis and visualization.
Link: https://kernc.github.io/backtesting.py/
BT
A backtesting framework that supports event-driven backtesting and optimization of trading strategies, with a focus on being lightweight and easy to use.
Link:https://pmorissette.github.io/bt/, https://github.com/jpmorganchase/bt/tree/0065fe879f740d3f44c47017ac504aa0845b75e8
Backtrader
A popular backtesting framework that allows for the rapid development of trading strategies, with…