TOP 4 PYTHON
LIBRARIES FOR
FINANCIAL MARKETS
@ Luís Fernando Torres
1. yfinance
A widely used library that provides easy access
to financial market data from Yahoo Finance.
It's used for financial analysis, modeling, and
research, offering real-time and historical stock
price data, as well as options and dividends data.
@ Luís Fernando Torres
2. Quantstats
A library that provides a suite of tools for stock
and portfolio analysis.
It offers a range of statistical and risk metrics,
such as Sharpe ratio and maximum drawdown,
to help users evaluate and compare investment
strategies. It also includes functions for
backtesting and simulating portfolio returns.
@ Luís Fernando Torres
3. TA-Lib
A popular technical analysis library.
It offers a wide range of technical indicators,
such as moving averages, RSI, Bollinger Bands,
etc.
It is widely used in algorithmic trading and to
backtest strategies
@ Luís Fernando Torres
4. PyPortfolioOpt
A popular library for portfolio optimization.
It offers a range of techniques to optimize
portfolios, such as the mean-variance model and
Black-Litterman model.
Investors can use it to find the optimal
allocation weights for financial securities to
obtain the best Sharpe ratio possible.
@ Luís Fernando Torres
Thank you!
@ Luís Fernando Torres