The FinanceToolkit is an open-source Python library for quantitative finance that provides a unified framework for financial analysis, asset valuation, and risk management. It serves as a comprehensive platform for computing over 200 financial metrics and ratios, with capabilities spanning financial ratio analysis, fixed income analytics, macroeconomic data aggregation, options pricing, and portfolio risk management.
The toolkit distinguishes itself through a modular architecture that separates data retrieval from computation, with stateless engines for financial models like Black-Scholes, GARCH, and binomial option pricing. It features a multi-provider data abstraction layer that normalizes responses from external sources such as Yahoo Finance, OpenBB, and Bloomberg into a common schema, alongside a symbol-resolution layer that maps tickers, CIKs, ISINs, and CUSIPs to canonical identifiers. The library also implements calendar-aware time alignment for financial statements and market data, and a DataFrame-pipeline architecture where data flows through transformation steps without mutating the source.
The platform covers a broad range of financial domains including company data with analyst estimates, ESG scores, and revenue breakdowns; macroeconomic indicators for over 60 countries; fixed income analytics with bond pricing, yields, and interest rate sensitivity; options pricing with Greeks computation; portfolio management with transaction tracking and performance measurement; and risk management tools including Value at Risk, GARCH volatility forecasting, and factor exposure evaluation. Technical analysis capabilities provide nearly 50 indicators from price data, while data discovery tools enable screening and browsing across equities, cryptocurrencies, forex, ETFs, commodities, and indices.
The library is available as a Python package with documentation covering installation, API reference, and usage examples for each functional area.