$npx skillfedfor your agent

Investment packages

35 packages

Packages

holidays Worth it
PyPI · Investment · released Aug 2026

Generates country- and subdivision-specific government holiday calendars on demand, supporting 250 country codes with optional language localization and holiday categories.

MITpure Python · 3.10+
30.7Mdownloads / mo
yfinance With conditions
PyPI · Investment · released Aug 2026

Fetches financial and market data from Yahoo Finance's public APIs, including ticker information, historical prices, and live streaming data.

However, do not use it for commercial applications or high-volume data collection without confirming compliance with Yahoo's terms of service.

Apache-2.0pure Python
29.2Mdownloads / mo
numpy-financial With conditions
PyPI · Investment · released Oct 2019

Provides elementary financial functions (IRR, NPV, PMT, and others) that were deprecated and removed from NumPy, offering a dedicated replacement for financial calculations.

However, given the aging status (no releases since 2019) and unclear compatibility with modern Python and recent numpy versions, verify that it works with your target…

BSD-3-Clausepure Python · 3.5+aging
5.9Mdownloads / mo
ccxt Worth it
PyPI · Investment · released Aug 2026

CCXT is a unified API library for connecting to and trading on more than 100 cryptocurrency exchanges and prediction markets, supporting both REST and WebSocket protocols with normalized cross-exchange data access.

MITpure Python · 3.10+
4.6Mdownloads / mo
databento Worth it
PyPI · Investment · released Aug 2026

Official Python client for accessing live and historical market data from Databento, supporting multiple asset classes, schemas, and data formats with normalized message structures.

Install it if you need programmatic access to Databento's historical or live market data; skip it if you don't have a Databento account or need data from a different…

Apache-2.0pure Python · 3.10+
1.7Mdownloads / mo
edgartools Worth it
PyPI · Investment · released Aug 2026

EdgarTools parses SEC EDGAR filings into typed Python objects and pandas DataFrames, extracting financial statements, insider trades, fund holdings, and other filing types with a consistent API.

The main gotcha is that you must provide an email to the SEC with every request, but that is a documented requirement.

MITpure Python · 3.10+
941.6Kdownloads / mo
pandas-ta With conditions
PyPI · Investment · released Sep 2025

Provides over 150 technical analysis indicators and 60 candlestick patterns for financial data, optimized with numba and numpy, and integrated as a pandas DataFrame extension.

However, the Beta status, 334-day maintenance gap, and unclear license terms warrant caution—verify the license for your use case and be prepared for potential…

license unclearpure Python · 3.12+aging
867.3Kdownloads / mo
mplfinance With conditions
PyPI · Investment · released Aug 2023

mplfinance provides matplotlib-based visualization for financial market data, enabling candlestick charts, OHLC plots, and technical analysis overlays from pandas DataFrames.

However, do not rely on it for active bug fixes or new features—test compatibility with your matplotlib and pandas versions before production use, and consider it a…

BSD-3-Clausepure Pythondormant
810.5Kdownloads / mo
ib-insync With conditions
PyPI · Investment · released Jul 2023

Provides a Python async/sync interface to Interactive Brokers' Trader Workstation API, automating connection management and data synchronization with live market data.

However, proceed with caution: the repository is archived and unmaintained since March 2024.

BSD-3-Clausepure Python · 3.6+abandoned
784.9Kdownloads / mo
ib_async Worth it
PyPI · Investment · released Dec 2025

ib_async provides a Python interface to Interactive Brokers' Trader Workstation and IB Gateway, enabling programmatic access to market data, order placement, and portfolio management through an async-first API.

Install it if you need programmatic access to IB's trading and market data APIs.

permissive licensepure Python · 3.10+
628.4Kdownloads / mo
sec-api With conditions
PyPI · Investment · released Apr 2026

A Python client for the SEC-API.io service that provides programmatic access to SEC EDGAR filings, exhibits, and structured financial data covering 20+ million filings and 1.1M+ entities since 1993.

MITpure Python
557.8Kdownloads / mo
kiteconnect Worth it
PyPI · Investment · released Jul 2026

Official Python client for the Kite Connect trading API, enabling real-time order execution, portfolio management, and live market data streaming via REST and WebSocket.

Install it if you are building a trading application on the Zerodha platform.

MITpure Python
330.7Kdownloads / mo
quantstats Worth it
PyPI · Investment · released Jan 2026

QuantStats computes portfolio performance metrics (Sharpe ratio, volatility, drawdown, win rate) and generates visualizations and HTML tearsheets for analyzing investment returns.

Apache-2.0pure Python · 3.10+
315.9Kdownloads / mo
tickflow With conditions
PyPI · Investment · released Jun 2026

TickFlow is a Python client for accessing market data across Chinese A-shares, ETFs, US stocks, and Hong Kong stocks through the TickFlow API, offering both free historical daily candles and paid real-time quotes and intraday data.

MITpure Python · 3.9+
269.6Kdownloads / mo
technical With conditions
PyPI · Investment · released Jul 2026

Technical provides a collection of technical indicators and utilities for financial analysis, designed to work with Freqtrade trading strategies and pandas dataframes.

GPL-3.0-onlypure Python · 3.11+
264.9Kdownloads / mo
ft-pandas-ta With conditions
PyPI · Investment · released Sep 2025

Provides 130+ technical analysis indicators and candlestick patterns for financial data analysis, callable directly on Pandas DataFrames or as standalone functions.

However, maintenance is aging (last release 319 days ago), so verify that the indicator set and accuracy meet your specific requirements before relying on it for…

MITpure Pythonaging
256.9Kdownloads / mo
nautilus_trader With conditions
PyPI · Investment · released Aug 2026

NautilusTrader is a Rust-native event-driven trading engine that runs research backtests and live trading strategies using the same deterministic code, with Python as the control plane for strategy logic.

LGPL-3.0-or-latercompiled wheel
253.6Kdownloads / mo
alpha-vantage Worth it
PyPI · Investment · released Jul 2024

Fetches real-time and historical stock, cryptocurrency, forex, and technical indicator data from the Alpha Vantage API, returning results as JSON, pandas DataFrames, or CSV.

Install it if you need to pull stock, crypto, or forex data into Python; skip it only if you prefer lower-level HTTP control or a different data source.

MITpure Python
233.7Kdownloads / mo
sec-edgar-downloader Worth it
PyPI · Investment · released Feb 2026

Downloads SEC EDGAR company filings by ticker or CIK, supporting all SEC filing types with optional date filtering and amendment inclusion.

MITpure Python · 3.10+
210.7Kdownloads / mo
pandas-ta-classic Worth it
PyPI · Investment · released Jun 2026

Pandas TA Classic provides 193 technical indicators and 62 native candlestick patterns as a Pandas DataFrame extension, enabling technical analysis workflows without requiring TA-Lib.

Install it if you need technical analysis indicators in pandas workflows and want to avoid TA-Lib compilation or licensing complexity.

permissive licensepure Python · 3.10+
208.8Kdownloads / mo
pyportfolioopt Worth it
PyPI · Investment · released Feb 2026

PyPortfolioOpt implements portfolio optimization methods including mean-variance optimization, Black-Litterman allocation, and Hierarchical Risk Parity to compute optimal asset allocations based on expected returns and risk models.

Install it if you need to compute optimal asset allocations from expected returns and risk estimates.

MITpure Python
195.2Kdownloads / mo
backtesting With conditions
PyPI · Investment · released Jul 2026

Backtesting.py lets you define and test trading strategies against historical price data, then visualize results and performance metrics like Sharpe ratio, drawdown, and win rate.

AGPL-3.0-or-laterpure Python · 3.9+
183.7Kdownloads / mo
asciichartpy Worth it
PyPI · Investment · released Aug 2020

Renders line charts as ASCII art in the console using box-drawing characters, with automatic scaling and support for multiple series and colors.

MITpure Python
176.8Kdownloads / mo
schwab-py With conditions
PyPI · Investment · released Jun 2025

Unofficial wrapper for the Charles Schwab API that provides programmatic access to authentication, quotes, options chains, streaming data, trade execution, and account information.

However, be aware that the last release was 410 days ago, paper trading and historical options pricing are not supported, and you must have a Schwab developer account…

MITpure Python · 3.10+aging
162.4Kdownloads / mo
shioaji With conditions
PyPI · Investment · released Aug 2026

Shioaji is a trading API for Taiwan's financial markets that provides native Python bindings, HTTP endpoints, and a CLI for placing orders and subscribing to real-time market data for stocks, futures, options, and combo orders.

Install it if you have a Sinopac trading account and need programmatic access to stocks, futures, or options.

license unclearcompiled wheel · 3.7+
158.2Kdownloads / mo
python-kraken-sdk With conditions
PyPI · Investment · released Jul 2026

Provides REST and WebSocket clients for trading on Kraken's Spot and Futures markets, plus a command-line interface for direct API access.

Apache-2.0pure Python · 3.11+
131.1Kdownloads / mo
xbbg With conditions
PyPI · Investment · released Aug 2026

xbbg is a Bloomberg client for Python that provides high-level helpers for BDP, BDS, BDH, intraday bars, ticks, BQL, and related analytics, backed by a Rust engine with support for sync and async APIs and multiple output backends.

Apache-2.0compiled wheel
111.6Kdownloads / mo
lumibot With conditions
PyPI · Investment · released Aug 2026

Lumibot is a Python framework for building, backtesting, and running algorithmic trading strategies and AI agents across stocks, options, crypto, futures, and forex using a single codebase that works identically in backtest and live trading.

MITpure Python · 3.10+
106.4Kdownloads / mo
riskfolio-lib With conditions
PyPI · Investment · released May 2026

Riskfolio-Lib builds optimized investment portfolios using mathematical models—mean-variance, risk parity, hierarchical clustering, and Black-Litterman approaches—with support for 26+ risk measures and constraints on leverage, turnover, and cardinality.

BSD-3-Clausecompiled wheel · 3.10+
104.2Kdownloads / mo
smartapi-python With conditions
PyPI · Investment · released Feb 2025

A Python client library for Angel Broking's REST API that enables real-time stock market order execution, session management, and market data retrieval through HTTP endpoints.

However, the dormant maintenance status (553 days since last release) and unclear license are significant concerns—verify that the library still works with Angel…

license unclearpure Pythondormant
103.8Kdownloads / mo
vnstock With conditions
PyPI · Investment · released Jul 2026

Vnstock fetches Vietnamese stock market data—historical prices, financial statements, company profiles, indices, and macroeconomic indicators—via a unified Python API and returns it as pandas DataFrames.

However, verify the custom noncommercial license against your intended use; commercial applications require explicit permission.

non-commercialpure Python · 3.10+
103.8Kdownloads / mo
ofxtools Worth it
PyPI · Investment · released Jun 2026

Parses, generates, and converts Open Financial Exchange (OFX) data in both OFXv1 (SGML) and OFXv2 (XML) formats, including Quicken's QFX variant, for importing and exporting financial transaction data.

However, its GPL-3.0-only license is a hard blocker for proprietary or closed-source applications—only install if your project can adopt GPL-3.0 or you have an…

GPL-3.0-onlypure Python · 3.10+
99.1Kdownloads / mo
skfolio Worth it
PyPI · Investment · released Aug 2026

skfolio is a Python library for portfolio optimization and risk management that integrates with scikit-learn to build, tune, cross-validate, and stress-test portfolio models using a unified interface.

Install it if you need portfolio optimization; skip it if you only need basic mean-variance calculations or prefer a different API.

BSD-3-Clausepure Python · 3.10+
92.0Kdownloads / mo
lttb With conditions
PyPI · Investment · released Sep 2024

Downsamples time series data using the Largest-Triangle-Three-Buckets algorithm to reduce visually redundant points while preserving overall shape, built on numpy.

MITpure Pythondormant
85.6Kdownloads / mo
freqtrade With conditions
PyPI · Investment · released Jul 2026

Freqtrade is a Python-based cryptocurrency trading bot that automates trading across major exchanges, with backtesting, strategy optimization via machine learning, and control via Telegram or web UI.

GPL-3.0-onlypure Python · 3.11+
75.2Kdownloads / mo