awesome-quant

A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)

GitHub

18k stars
697 watching
3k forks
Language: Python
last commit: 13 days ago
Linked from 3 awesome lists

algorithmic-trading-enginealgorithmic-trading-libraryalgotradingarbitrage-botawesomeawesome-listfinancefinance-apifinancial-datafinancial-instrumentsgoogle-financequantquantitative-financequantitative-tradingstock-datatechnical-analysistrading-algorithmstrading-bottrading-strategiesyahoo-finance

Awesome Quant / Python / Numerical Libraries & Data Structures

numpy NumPy is the fundamental package for scientific computing with Python
scipy SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and engineering
pandas pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language
polars Polars is a blazingly fast DataFrame library for manipulating structured data
quantdsl 337 over 6 years ago Domain specific language for quantitative analytics in finance and trading
statistics Builtin Python library for all basic statistical calculations
sympy SymPy is a Python library for symbolic mathematics
pymc3 Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano
modelx Python reimagination of spreadsheets as formula-centric objects that are interoperable with pandas
ArcticDB 1,443 10 days ago High performance datastore for time series and tick data

Awesome Quant / Python / Financial Instruments and Pricing

OpenBB Terminal 30,371 about 18 hours ago Terminal for investment research for everyone
PyQL 975 about 2 months ago QuantLib's Python port
pyfin 306 almost 10 years ago Basic options pricing in Python
vollib 663 over 1 year ago vollib is a python library for calculating option prices, implied volatility and greeks
QuantPy 669 over 1 year ago A framework for quantitative finance In python
Finance-Python 742 9 months ago Python tools for Finance
ffn 1,949 27 days ago A financial function library for Python
pynance 315 over 3 years ago Lightweight Python library for assembling and analyzing financial data
tia 407 over 1 year ago Toolkit for integration and analysis
hasura/base-python-dash Hasura quick start to deploy Dash framework. Written on top of Flask, Plotly.js, and React.js, Dash is ideal for building data visualization apps with highly custom user interfaces in pure Python
hasura/base-python-bokeh Hasura quick start to visualize data with bokeh library
pysabr 457 over 2 years ago SABR model Python implementation
FinancePy 2,091 19 days ago A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives
gs-quant 7,552 10 days ago Python toolkit for quantitative finance
willowtree 238 about 6 years ago Robust and flexible Python implementation of the willow tree lattice for derivatives pricing
financial-engineering 365 almost 7 years ago Applications of Monte Carlo methods to financial engineering projects, in Python
optlib 644 almost 2 years ago A library for financial options pricing written in Python
tf-quant-finance 4,490 4 months ago High-performance TensorFlow library for quantitative finance
Q-Fin 389 11 months ago A Python library for mathematical finance
Quantsbin 476 about 1 year ago Tools for pricing and plotting of vanilla option prices, greeks and various other analysis around them
finoptions 206 8 months ago Complete python implementation of R package fOptions with partial implementation of fExoticOptions for pricing various options
pypme 10 over 1 year ago PME (Public Market Equivalent) calculation
AbsBox 35 10 days ago A Python based library to model cashflow for structured product like Asset-backed securities (ABS) and Mortgage-backed securities (MBS)
Intrinsic-Value-Calculator 22 3 months ago A Python tool for quick calculations of a stock's fair value using Discounted Cash Flow analysis
Kelly-Criterion 90 almost 2 years ago Kelly Criterion implemented in Python to size portfolios based on J. L. Kelly Jr's formula
rateslib 122 10 days ago A fixed income library for pricing bonds and bond futures, and derivatives such as IRS, cross-currency and FX swaps

Awesome Quant / Python / Indicators

pandas_talib 738 over 6 years ago A Python Pandas implementation of technical analysis indicators
finta 2,112 about 2 years ago Common financial technical analysis indicators implemented in Pandas
Tulipy 93 over 5 years ago Financial Technical Analysis Indicator Library (Python bindings for )
lppls 350 about 2 months ago A Python module for fitting the model
talipp 368 about 2 months ago Incremental technical analysis library for Python
streaming_indicators 57 10 days ago A python library for computing technical analysis indicators on streaming data

Awesome Quant / Python / Trading & Backtesting

skfolio 1,140 13 days ago Python library for portfolio optimization built on top of scikit-learn. It provides a unified interface and sklearn compatible tools to build, tune and cross-validate portfolio models
Investing algorithm framework 136 25 days ago Framework for developing, backtesting, and deploying automated trading algorithms
QSTrader 2,895 3 months ago QSTrader backtesting simulation engine
Blankly 2,086 6 months ago Fully integrated backtesting, paper trading, and live deployment
TA-Lib 9,494 12 days ago Python wrapper for TA-Lib ( )
zipline 17,515 8 months ago Pythonic algorithmic trading library
QuantSoftware Toolkit 464 almost 7 years ago Python-based open source software framework designed to support portfolio construction and management
quantitative 62 over 5 years ago Quantitative finance, and backtesting library
analyzer 213 almost 9 years ago Python framework for real-time financial and backtesting trading strategies
bt 2,185 27 days ago Flexible Backtesting for Python
backtrader 14,061 about 1 month ago Python Backtesting library for trading strategies
pythalesians 60 about 8 years ago Python library to backtest trading strategies, plot charts, seamlessly download market data, analyze market patterns etc
pybacktest 801 almost 3 years ago Vectorized backtesting framework in Python / pandas, designed to make your backtesting easier
pyalgotrade 4,391 11 months ago Python Algorithmic Trading Library
basana 525 about 1 month ago A Python async and event driven framework for algorithmic trading, with a focus on crypto currencies
tradingWithPython A collection of functions and classes for Quantitative trading
Pandas TA 5,220 2 months ago Pandas TA is an easy to use Python 3 Pandas Extension with 115+ Indicators. Easily build Custom Strategies
ta 4,252 2 months ago Technical Analysis Library using Pandas (Python)
algobroker 86 over 8 years ago This is an execution engine for algo trading
pysentosa Python API for sentosa trading system
finmarketpy 3,422 4 months ago Python library for backtesting trading strategies and analyzing financial markets
binary-martingale 45 almost 7 years ago Computer program to automatically trade binary options martingale style
fooltrader 1,136 over 1 year ago the project using big-data technology to provide an uniform way to analyze the whole market
zvt 3,151 11 days ago the project using sql, pandas to provide an uniform and extendable way to record data, computing factors, select securities, backtesting, realtime trading and it could show all of them in clearly charts in realtime
pylivetrader 661 almost 2 years ago zipline-compatible live trading library
pipeline-live 205 about 1 year ago zipline's pipeline capability with IEX for live trading
zipline-extensions 18 over 4 years ago Zipline extensions and adapters for QuantRocket
moonshot 199 about 1 month ago Vectorized backtester and trading engine for QuantRocket based on Pandas
PyPortfolioOpt 4,413 2 months ago Financial portfolio optimization in python, including classical efficient frontier and advanced methods
Eiten 2,748 about 2 years ago Eiten is an open source toolkit by Tradytics that implements various statistical and algorithmic investing strategies such as Eigen Portfolios, Minimum Variance Portfolios, Maximum Sharpe Ratio Portfolios, and Genetic Algorithms based Portfolios
riskparity.py 286 4 months ago fast and scalable design of risk parity portfolios with TensorFlow 2.0
mlfinlab 3,926 12 months ago Implementations regarding "Advances in Financial Machine Learning" by Marcos Lopez de Prado. (Feature Engineering, Financial Data Structures, Meta-Labeling)
pyqstrat 361 11 months ago A fast, extensible, transparent python library for backtesting quantitative strategies
NowTrade 104 over 7 years ago Python library for backtesting technical/mechanical strategies in the stock and currency markets
pinkfish 263 30 days ago A backtester and spreadsheet library for security analysis
aat 662 7 months ago Async Algorithmic Trading Engine
Backtesting.py Backtest trading strategies in Python
catalyst 2,485 almost 2 years ago An Algorithmic Trading Library for Crypto-Assets in Python
quantstats 4,770 2 months ago Portfolio analytics for quants, written in Python
qtpylib 2,139 about 3 years ago QTPyLib, Pythonic Algorithmic Trading
Quantdom 711 about 2 years ago Python-based framework for backtesting trading strategies & analyzing financial markets [GUI ]
freqtrade 28,124 10 days ago Free, open source crypto trading bot
algorithmic-trading-with-python 2,664 over 3 years ago Free and resources for trading simulation, backtesting, and machine learning on financial data
DeepDow 900 8 months ago Portfolio optimization with deep learning
Qlib 15,200 16 days ago An AI-oriented Quantitative Investment Platform by Microsoft. Full ML pipeline of data processing, model training, back-testing; and covers the entire chain of quantitative investment: alpha seeking, risk modeling, portfolio optimization, and order execution
machine-learning-for-trading 12,933 about 1 month ago Code and resources for Machine Learning for Algorithmic Trading
AlphaPy 1,131 8 months ago Automated Machine Learning [AutoML] with Python, scikit-learn, Keras, XGBoost, LightGBM, and CatBoost
jesse 5,532 12 days ago An advanced crypto trading bot written in Python
rqalpha 5,331 16 days ago A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
FinRL-Library 9,651 25 days ago A Deep Reinforcement Learning Library for Automated Trading in Quantitative Finance. NeurIPS 2020
bulbea 2,031 over 3 years ago Deep Learning based Python Library for Stock Market Prediction and Modelling
ib_nope 30 over 3 years ago Automated trading system for NOPE strategy over IBKR TWS
OctoBot 3,246 10 days ago Open source cryptocurrency trading bot for high frequency, arbitrage, TA and social trading with an advanced web interface
bta-lib 451 over 2 years ago Technical Analysis library in pandas for backtesting algotrading and quantitative analysis
Stock-Prediction-Models 7,883 over 1 year ago Gathers machine learning and deep learning models for Stock forecasting including trading bots and simulations
TuneTA 398 12 months ago TuneTA optimizes technical indicators using a distance correlation measure to a user defined target feature such as next day return
AutoTrader 948 6 months ago A Python-based development platform for automated trading systems - from backtesting to optimization to livetrading
fast-trade 365 6 months ago A library built with backtest portability and performance in mind for backtest trading strategies
qf-lib 542 15 days ago QF-Lib is a Python library that provides high quality tools for quantitative finance
tda-api 1,262 3 months ago Gather data and trade equities, options, and ETFs via TDAmeritrade
vectorbt 4,221 15 days ago Find your trading edge, using a powerful toolkit for backtesting, algorithmic trading, and research
Lean 9,486 11 days ago Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
fast-trade 365 6 months ago Low code backtesting library utilizing pandas and technical analysis indicators
pysystemtrade 2,583 3 months ago pysystemtrade is the open source version of Robert Carver's backtesting and trading engine that implements systems according to the framework outlined in his book "Systematic Trading", which is further developed on his
pytrendseries 115 21 days ago Detect trend in time series, drawdown, drawdown within a constant look-back window , maximum drawdown, time underwater
PyLOB 175 over 1 year ago Fully functioning fast Limit Order Book written in Python
PyBroker 1,936 6 days ago Algorithmic Trading with Machine Learning
OctoBot Script 19 about 2 months ago A quant framework to create cryptocurrencies strategies - from backtesting to optimization to livetrading
hftbacktest 1,782 14 days ago A high-frequency trading and market-making backtesting tool accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books
vnpy 24,547 13 days ago VeighNa is a Python-based open source quantitative trading system development framework
Intelligent Trading Bot 1,004 10 days ago Automatically generating signals and trading based on machine learning and feature engineering
fastquant 1,511 about 1 year ago fastquant allows you to easily backtest investment strategies with as few as 3 lines of python code
nautilus_trader 1,985 10 days ago A high-performance algorithmic trading platform and event-driven backtester
YABTE 3 5 months ago Yet Another (Python) BackTesting Engine

Awesome Quant / Python / Risk Analysis

QuantLibRisks 9 3 months ago Fast risks with QuantLib
XAD 8 26 days ago Automatic Differentation (AAD) Library
pyfolio 5,626 9 months ago Portfolio and risk analytics in Python
empyrical 1,279 2 months ago Common financial risk and performance metrics
fecon235 1,101 over 1 year ago Computational tools for financial economics include: Gaussian Mixture model of leptokurtotic risk, adaptive Boltzmann portfolios
finance Financial Risk Calculations. Optimized for ease of use through class construction and operator overload
qfrm Quantitative Financial Risk Management: awesome OOP tools for measuring, managing and visualizing risk of financial instruments and portfolios
visualize-wealth 138 over 9 years ago Portfolio construction and quantitative analysis
VisualPortfolio 100 over 7 years ago This tool is used to visualize the performance of a portfolio
universal-portfolios 768 about 2 months ago Collection of algorithms for online portfolio selection
FinQuant 1,386 11 months ago A program for financial portfolio management, analysis and optimization
Empyrial 918 about 1 month ago Portfolio's risk and performance analytics and returns predictions
risktools 27 12 days ago Risk tools for use within the crude and crude products trading space with partial implementation of R's PerformanceAnalytics
Riskfolio-Lib 2,962 about 2 months ago Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
empyrical-reloaded 46 about 1 month ago Common financial risk and performance metrics. fork
pyfolio-reloaded 357 about 2 months ago Portfolio and risk analytics in Python. fork
fortitudo.tech 205 2 months ago Conditional Value-at-Risk (CVaR) portfolio optimization and Entropy Pooling views / stress-testing in Python

Awesome Quant / Python / Factor Analysis

alphalens 3,271 8 months ago Performance analysis of predictive alpha factors
Spectre 626 10 months ago GPU-accelerated Factors analysis library and Backtester

Awesome Quant / Python / Sentiment Analysis

Asset News Sentiment Analyzer 102 2 months ago Sentiment analysis and report generation package for financial assets and securities utilizing GPT models

Awesome Quant / Python / Quant Research Environment

Jupyter Quant 8 4 months ago A dockerized Jupyter quant research environment with preloaded tools for quant analysis, statsmodels, pymc, arch, py_vollib, zipline-reloaded, PyPortfolioOpt, etc

Awesome Quant / Python / Time Series

ARCH 1,322 about 1 month ago ARCH models in Python
statsmodels Python module that allows users to explore data, estimate statistical models, and perform statistical tests
dynts 86 almost 8 years ago Python package for timeseries analysis and manipulation
PyFlux 2,107 11 months ago Python library for timeseries modelling and inference (frequentist and Bayesian) on models
tsfresh 8,364 about 2 months ago Automatic extraction of relevant features from time series
hasura/quandl-metabase Hasura quickstart to visualize Quandl's timeseries datasets with Metabase
Facebook Prophet 18,307 5 days ago Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth
tsmoothie 736 10 months ago A python library for time-series smoothing and outlier detection in a vectorized way
pmdarima 1,574 3 days ago A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function
gluon-ts 4,554 about 2 months ago vProbabilistic time series modeling in Python

Awesome Quant / Python / Calendars

exchange_calendars 422 10 days ago Stock Exchange Trading Calendars
bizdays 80 3 months ago Business days calculations and utilities
pandas_market_calendars 777 3 months ago Exchange calendars to use with pandas for trading applications

Awesome Quant / Python / Data Sources

yfinance 13,023 20 days ago Yahoo! Finance market data downloader (+faster Pandas Datareader)
findatapy 1,651 5 months ago Python library to download market data via Bloomberg, Quandl, Yahoo etc
googlefinance 700 about 6 years ago Python module to get real-time stock data from Google Finance API
yahoo-finance 1,336 9 months ago Python module to get stock data from Yahoo! Finance
pandas-datareader 2,911 about 2 months ago Python module to get data from various sources (Google Finance, Yahoo Finance, FRED, OECD, Fama/French, World Bank, Eurostat...) into Pandas datastructures such as DataFrame, Panel with a caching mechanism
pandas-finance 152 about 1 year ago High level API for access to and analysis of financial data
pyhoofinance 9 almost 8 years ago Rapidly queries Yahoo Finance for multiple tickers and returns typed data for analysis
yfinanceapi 9 over 4 years ago Finance API for Python
yql-finance 16 about 9 years ago yql-finance is simple and fast. API returns stock closing prices for current period of time and current stock ticker (i.e. APPL, GOOGL)
ystockquote 531 almost 7 years ago Retrieve stock quote data from Yahoo Finance
wallstreet 1,321 3 months ago Real time stock and option data
stock_extractor 33 almost 2 years ago General Purpose Stock Extractors from Online Resources
Stockex 33 over 1 year ago Python wrapper for Yahoo! Finance API
finsymbols 110 almost 5 years ago Obtains stock symbols and relating information for SP500, AMEX, NYSE, and NASDAQ
FRB 162 about 1 year ago Python Client for FRED® API
inquisitor 40 over 2 years ago Python Interface to Econdb.com API
yfi 2 over 8 years ago Yahoo! YQL library
chinesestockapi Python API to get Chinese stock price
exchange 16 about 9 years ago Get current exchange rate
ticks 16 over 8 years ago Simple command line tool to get stock ticker data
pybbg 53 over 9 years ago Python interface to Bloomberg COM APIs
ccy 80 3 months ago Python module for currencies
tushare A utility for crawling historical and Real-time Quotes data of China stocks
jsm Get the japanese stock market data
cn_stock_src 35 almost 8 years ago Utility for retrieving basic China stock data from different sources
coinmarketcap 436 over 1 year ago Python API for coinmarketcap
after-hours 35 over 3 years ago Obtain pre market and after hours stock prices for a given symbol
bronto-python Bronto API Integration for Python
pytdx 1,325 over 4 years ago Python Interface for retrieving chinese stock realtime quote data from TongDaXin Nodes
pdblp 241 over 2 years ago A simple interface to integrate pandas and the Bloomberg Open API
tiingo 248 11 days ago Python interface for daily composite prices/OHLC/Volume + Real-time News Feeds, powered by the Tiingo Data Platform
iexfinance 649 over 2 years ago Python Interface for retrieving real-time and historical prices and equities data from The Investor's Exchange
pyEX 407 8 months ago Python interface to IEX with emphasis on pandas, support for streaming data, premium data, points data (economic, rates, commodities), and technical indicators
alpaca-trade-api 1,728 12 days ago Python interface for retrieving real-time and historical prices from Alpaca API as well as trade execution
metatrader5 API Connector to MetaTrader 5 Terminal
akshare 8,995 10 days ago AkShare is an elegant and simple financial data interface library for Python, built for human beings!
yahooquery 767 3 months ago Python interface for retrieving data through unofficial Yahoo Finance API
investpy 1,624 6 months ago Financial Data Extraction from Investing.com with Python!
yliveticker 143 over 3 years ago Live stream of market data from Yahoo Finance websocket
bbgbridge 1 over 4 years ago Easy to use Bloomberg Desktop API wrapper for Python
alpha_vantage 4,239 2 months ago A python wrapper for Alpha Vantage API for financial data
FinanceDataReader 1,144 19 days ago Open Source Financial data reader for U.S, Korean, Japanese, Chinese, Vietnamese Stocks
pystlouisfed 12 9 months ago Python client for Federal Reserve Bank of St. Louis API - FRED, ALFRED, GeoFRED and FRASER
python-bcb 75 3 months ago Python interface to Brazilian Central Bank web services
market-prices 72 15 days ago Create meaningful OHLCV datasets from knowledge of (works out-the-box with data from Yahoo Finance)
tardis-python 112 about 2 months ago Python interface for Tardis.dev high frequency crypto market data
lake-api 24 19 days ago Python interface for Crypto Lake high frequency crypto market data
tessa 42 12 months ago simple, hassle-free access to price information of financial assets (currently based on yfinance and pycoingecko), including search and a symbol class
pandaSDMX 125 9 months ago Python package that implements SDMX 2.1 (ISO 17369:2013), a format for exchange of statistical data and metadata used by national statistical agencies, central banks, and international organisations
cif 56 over 2 years ago Python package that include few composite indicators, which summarize multidimensional relationships between individual economic indicators
finagg 418 about 2 months ago finagg is a Python package that provides implementations of popular and free financial APIs, tools for aggregating historical data from those APIs into SQL databases, and tools for transforming aggregated data into features useful for analysis and AI/ML
FinanceDatabase 3,307 13 days ago This is a database of 300.000+ symbols containing Equities, ETFs, Funds, Indices, Currencies, Cryptocurrencies and Money Markets

Awesome Quant / Python / Excel Integration

xlwings Make Excel fly with Python
openpyxl Read/Write Excel 2007 xlsx/xlsm files
xlrd 2,151 3 months ago Library for developers to extract data from Microsoft Excel spreadsheet files
xlsxwriter Write files in the Excel 2007+ XLSX file format
xlwt 1,043 over 4 years ago Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform
DataNitro DataNitro also offers full-featured Python-Excel integration, including UDFs. Trial downloads are available, but users must purchase a license
xlloop XLLoop is an open source framework for implementing Excel user-defined functions (UDFs) on a centralised server (a function server)
expy The ExPy add-in allows easy use of Python directly from within an Microsoft Excel spreadsheet, both to execute arbitrary code and to define new Excel functions
pyxll PyXLL is an Excel add-in that enables you to extend Excel using nothing but Python code

Awesome Quant / Python / Visualization

D-Tale 4,706 18 days ago Visualizer for pandas dataframes and xarray datasets
mplfinance 3,589 about 2 months ago matplotlib utilities for the visualization, and visual analysis, of financial data
finplot 911 about 1 month ago Performant and effortless finance plotting for Python
finvizfinance 449 12 days ago Finviz analysis python library
market-analy 32 25 days ago Analysis and interactive charting using and bqplot

Awesome Quant / R / Numerical Libraries & Data Structures

xts 220 about 2 months ago eXtensible Time Series: Provide for uniform handling of R's different time-based data classes by extending zoo, maximizing native format information preservation and allowing for user level customization and extension, while simplifying cross-class interoperability
data.table 3,574 10 days ago Extension of data.frame: Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns and a fast file reader (fread). Offers a natural and flexible syntax, for faster development
sparseEigen 12 almost 6 years ago Sparse principal component analysis
TSdbi Provides a common interface to time series databases
tseries Time Series Analysis and Computational Finance
zoo S3 Infrastructure for Regular and Irregular Time Series (Z's Ordered Observations)
tis Functions and S3 classes for time indexes and time indexed series, which are compatible with FAME frequencies
tfplot Utilities for simple manipulation and quick plotting of time series data
tframe A kernel of functions for programming time series methods in a way that is relatively independently of the representation of time

Awesome Quant / R / Data Sources

IBrokers Provides native R access to Interactive Brokers Trader Workstation API
Rblpapi 166 10 days ago An R Interface to 'Bloomberg' is provided via the 'Blp API'
Quandl Get Financial Data Directly Into R
Rbitcoin 57 almost 8 years ago Unified markets API interface (bitstamp, kraken, btce, bitmarket)
GetTDData 23 about 1 month ago Downloads and aggregates data for Brazilian government issued bonds directly from the website of Tesouro Direto
GetHFData 39 about 4 years ago Downloads and aggregates high frequency trading data for Brazilian instruments directly from Bovespa ftp site
Reddit WallstreetBets API Provides daily top 50 stocks from reddit (subreddit) Wallstreetbets and their sentiments via the API
td 15 3 months ago Interfaces the 'twelvedata' API for stocks and (digital and standard) currencies
rbcb 90 8 months ago R interface to Brazilian Central Bank web services
rb3 71 about 2 months ago A bunch of downloaders and parsers for data delivered from B3
simfinapi 19 5 months ago Makes 'SimFin' data ( ) easily accessible in R

Awesome Quant / R / Financial Instruments and Pricing

RQuantLib 117 about 2 months ago RQuantLib connects GNU R with QuantLib
quantmod Quantitative Financial Modelling Framework
Rmetrics The premier open source software solution for teaching and training quantitative finance

Awesome Quant / R / Financial Instruments and Pricing / Rmetrics

fAsianOptions EBM and Asian Option Valuation
fAssets Analysing and Modelling Financial Assets
fBasics Markets and Basic Statistics
fBonds Bonds and Interest Rate Models
fExoticOptions Exotic Option Valuation
fOptions Pricing and Evaluating Basic Options
fPortfolio Portfolio Selection and Optimization

Awesome Quant / R / Financial Instruments and Pricing

portfolio 15 about 1 month ago Analysing equity portfolios
sparseIndexTracking 50 over 1 year ago Portfolio design to track an index
covFactorModel 30 over 5 years ago Covariance matrix estimation via factor models
riskParityPortfolio 106 almost 2 years ago Blazingly fast design of risk parity portfolios
sde Simulation and Inference for Stochastic Differential Equations
YieldCurve Modelling and estimation of the yield curve
SmithWilsonYieldCurve Constructs a yield curve by the Smith-Wilson method from a table of LIBOR and SWAP rates
ycinterextra Yield curve or zero-coupon prices interpolation and extrapolation
AmericanCallOpt This package includes pricing function for selected American call options with underlying assets that generate payouts
VarSwapPrice Pricing a variance swap on an equity index
RND Risk Neutral Density Extraction Package
LSMonteCarlo American options pricing with Least Squares Monte Carlo method
OptHedging Estimation of value and hedging strategy of call and put options
tvm Time Value of Money Functions
OptionPricing Option Pricing with Efficient Simulation Algorithms
credule 5 about 9 years ago Credit Default Swap Functions
derivmkts Functions and R Code to Accompany Derivatives Markets
FinCal 21 about 1 year ago Package for time value of money calculation, time series analysis and computational finance
r-quant 30 over 10 years ago R code for quantitative analysis in finance
options.studies 6 almost 9 years ago options trading studies functions for use with options.data package and shiny
PortfolioAnalytics 76 about 1 month ago Portfolio Analysis, Including Numerical Methods for Optimizationof Portfolios
fmbasics 12 over 2 years ago Financial Market Building Blocks
R-fixedincome 51 9 months ago Fixed income tools for R

Awesome Quant / R / Trading

backtest Exploring Portfolio-Based Conjectures About Financial Instruments
pa Performance Attribution for Equity Portfolios
TTR 330 8 months ago Technical Trading Rules
QuantTools Enhanced Quantitative Trading Modelling
blotter 112 17 days ago Transaction infrastructure for defining instruments, transactions, portfolios and accounts for trading systems and simulation. Provides portfolio support for multi-asset class and multi-currency portfolios. Actively maintained and developed

Awesome Quant / R / Backtesting

quantstrat 284 about 1 year ago Transaction-oriented infrastructure for constructing trading systems and simulation. Provides support for multi-asset class and multi-currency portfolios for backtesting and other financial research

Awesome Quant / R / Risk Analysis

PerformanceAnalytics 207 8 months ago Econometric tools for performance and risk analysis

Awesome Quant / R / Factor Analysis

FactorAnalytics 67 7 months ago The FactorAnalytics package contains fitting and analysis methods for the three main types of factor models used in conjunction with portfolio construction, optimization and risk management, namely fundamental factor models, time series factor models and statistical factor models
Expected Returns 40 about 1 month ago Solutions for enhancing portfolio diversification and replications of seminal papers with R, most of which are discussed in one of the best investment references of the recent decade, Expected Returns: An Investors Guide to Harvesting Market Rewards by Antti Ilmanen

Awesome Quant / R / Time Series

tseries Time Series Analysis and Computational Finance
fGarch Rmetrics - Autoregressive Conditional Heteroskedastic Modelling
timeSeries Rmetrics - Financial Time Series Objects
rugarch 23 about 1 month ago Univariate GARCH Models
rmgarch 12 over 2 years ago Multivariate GARCH Models
tidypredict 2 almost 3 years ago Run predictions inside the database
tidyquant 853 26 days ago Bringing financial analysis to the tidyverse
timetk 611 4 months ago A toolkit for working with time series in R
tibbletime 179 over 1 year ago Built on top of the tidyverse, tibbletime is an extension that allows for the creation of time aware tibbles through the setting of a time index
matrixprofile 360 10 months ago Time series data mining library built on top of the novel Matrix Profile data structure and algorithms
garchmodels 33 about 2 years ago A parsnip backend for GARCH models

Awesome Quant / R / Calendars

timeDate Chronological and Calendar Objects
bizdays 52 3 months ago Business days calculations and utilities

Awesome Quant / Matlab / FrameWorks

QUANTAXIS 8,109 29 days ago Integrated Quantitative Toolbox with Matlab

Awesome Quant / Julia

Lucky.jl 7 17 days ago Modular, asynchronous trading engine in pure Julia
QuantLib.jl 137 over 4 years ago Quantlib implementation in pure Julia
Ito.jl 36 over 7 years ago A Julia package for quantitative finance
TALib.jl 52 about 7 years ago A Julia wrapper for TA-Lib
IncTA.jl 17 3 months ago Julia Incremental Technical Analysis Indicators
Miletus.jl 84 10 months ago A financial contract definition, modeling language, and valuation framework
Temporal.jl 100 over 1 year ago Flexible and efficient time series class & methods
Indicators.jl 216 almost 2 years ago Financial market technical analysis & indicators on top of Temporal
Strategems.jl 163 over 3 years ago Quantitative systematic trading strategy development and backtesting
TimeSeries.jl 353 2 months ago Time series toolkit for Julia
MarketTechnicals.jl 127 almost 3 years ago Technical analysis of financial time series on top of TimeSeries
MarketData.jl 146 19 days ago Time series market data
TimeFrames.jl 4 over 5 years ago A Julia library that defines TimeFrame (essentially for resampling TimeSeries)
DataFrames.jl 1,724 5 days ago In-memory tabular data in Julia
TSFrames.jl 92 3 months ago Handle timeseries data on top of the powerful and mature DataFrames.jl

Awesome Quant / Java

Strata Modern open-source analytics and market risk library designed and written in Java
JQuantLib 124 over 8 years ago JQuantLib is a free, open-source, comprehensive framework for quantitative finance, written in 100% Java
finmath.net Java library with algorithms and methodologies related to mathematical finance
quantcomponents 163 about 6 years ago Free Java components for Quantitative Finance and Algorithmic Trading
DRIP Fixed Income, Asset Allocation, Transaction Cost Analysis, XVA Metrics Libraries
ta4j 2,037 12 days ago A Java library for technical analysis

Awesome Quant / JavaScript

finance.js 1,244 over 1 year ago A JavaScript library for common financial calculations
portfolio-allocation 173 over 1 year ago PortfolioAllocation is a JavaScript library designed to help constructing financial portfolios made of several assets: bonds, commodities, cryptocurrencies, currencies, exchange traded funds (ETFs), mutual funds, stocks
Ghostfolio 4,190 4 days ago Wealth management software to keep track of financial assets like stocks, ETFs or cryptocurrencies and make solid, data-driven investment decisions
IndicatorTS 284 2 months ago Indicator is a TypeScript module providing various stock technical analysis indicators, strategies, and a backtest framework for trading
ccxt 32,564 4 days ago A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
PENDAX 42 5 months ago Javascript SDK for Trading/Data API and Websockets for FTX, FTXUS, OKX, Bybit, & More

Awesome Quant / JavaScript / Data Visualization

QUANTAXIS_Webkit 38 over 6 years ago An awesome visualization center based on quantaxis

Awesome Quant / Haskell

quantfin 134 over 5 years ago quant finance in pure haskell
Haxcel 33 about 2 years ago Excel Addin for Haskell
Ffinar 3 over 2 years ago A financial maths library in Haskell

Awesome Quant / Scala

QuantScale 46 over 10 years ago Scala Quantitative Finance Library
Scala Quant 10 over 7 years ago Scala library for working with stock data from IFTTT recipes or Google Finance

Awesome Quant / Ruby

Jiji 238 over 3 years ago Open Source Forex algorithmic trading framework using OANDA REST API

Awesome Quant / Elixir/Erlang

Tai 460 about 1 year ago Open Source composable, real time, market data and trade execution toolkit
Workbench 113 over 1 year ago From Idea to Execution - Manage your trading operation across a globally distributed cluster
Prop 47 over 1 year ago An open and opinionated trading platform using productive & familiar open source libraries and tools for strategy research, execution and operation

Awesome Quant / Golang

Kelp 1,094 11 months ago Kelp is an open-source Golang algorithmic cryptocurrency trading bot that runs on centralized exchanges and Stellar DEX (command-line usage and desktop GUI)
marketstore 1,862 5 months ago DataFrame Server for Financial Timeseries Data
IndicatorGo 466 10 days ago IndicatorGo is a Golang module providing various stock technical analysis indicators, strategies, and a backtest framework for trading

Awesome Quant / CPP

QuantLib 5,225 11 days ago The QuantLib project is aimed at providing a comprehensive software framework for quantitative finance
QuantLibRisks 15 10 days ago Fast risks with QuantLib in C++
XAD 238 about 1 month ago Automatic Differentation (AAD) Library
TradeFrame 478 3 months ago C++ 17 based framework/library (with sample applications) for testing options based automated trading ideas using DTN IQ real time data feed and Interactive Brokers (TWS API) for trade execution. Comes with built-in calculation library

Awesome Quant / Frameworks

Python QuantLibRisks - Fast risks with QuantLib in and
Python XAD - Automatic Differentiation (AAD) Library in and
JQuantLib 124 over 8 years ago Java port
RQuantLib 117 about 2 months ago R port
QuantLibAddin Excel support
QuantLibXL Excel support
QLNet 381 about 1 month ago .Net port
PyQL 975 about 2 months ago Python port
QuantLib.jl 137 over 4 years ago Julia port
QuantLib-Python Documentation Documentation for the Python bindings for the QuantLib library
ta-lib-python 9,494 12 days ago
ta-lib 511 5 months ago

Awesome Quant / CSharp

QuantConnect 9,486 11 days ago Lean Engine is an open-source fully managed C# algorithmic trading engine built for desktop and cloud usage
StockSharp 7,067 10 days ago Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options)
TDAmeritrade.DotNetCore 55 over 1 year ago Free, open-source .NET Client for the TD Ameritrade Trading Platform. Helps developers integrate TD Ameritrade API into custom trading solutions

Awesome Quant / Rust

QuantMath 363 over 1 year ago Financial maths library for risk-neutral pricing and risk
Barter 858 13 days ago Open-source Rust framework for building event-driven live-trading & backtesting systems
LFEST 55 about 1 month ago Simulated perpetual futures exchange to trade your strategy against
TradeAggregation 68 15 days ago Aggregate trades into user-defined candles using information driven rules
SlidingFeatures 39 4 months ago Chainable tree-like sliding windows for signal processing and technical analysis
RustQuant 1,057 11 days ago Quantitative finance library written in Rust
finalytics 18 about 2 months ago A rust library for financial data analysis

Awesome Quant / Reproducing Works, Training & Books

Auto-Differentiation Website Background and resources on Automatic Differentiation (AD) / Adjoint Algorithmic Differentitation (AAD)
Derman Papers 357 almost 7 years ago Notebooks that replicate original quantitative finance papers from Emanuel Derman
ML-Quant Top Quant resources like ArXiv (sanity), SSRN, RePec, Journals, Podcasts, Videos, and Blogs
volatility-trading 1,526 over 1 year ago A complete set of volatility estimators based on Euan Sinclair's Volatility Trading
quant 316 about 9 years ago Quantitative Finance and Algorithmic Trading exhaust; mostly ipython notebooks based on Quantopian, Zipline, or Pandas
fecon235 1,101 over 1 year ago Open source project for software tools in financial economics. Many jupyter notebook to verify theoretical ideas and practical methods interactively
Quantitative-Notebooks 986 about 4 years ago Educational notebooks on quantitative finance, algorithmic trading, financial modelling and investment strategy
QuantEcon Lecture series on economics, finance, econometrics and data science; QuantEcon.py, QuantEcon.jl, notebooks
FinanceHub 627 4 months ago Resources for Quantitative Finance
Python_Option_Pricing 621 about 4 years ago An library to price financial options written in Python. Includes: Black Scholes, Black 76, Implied Volatility, American, European, Asian, Spread Options
python-training 5,991 2 months ago J.P. Morgan's Python training for business analysts and traders
Stock_Analysis_For_Quant 1,651 10 days ago Different Types of Stock Analysis in Excel, Matlab, Power BI, Python, R, and Tableau
algorithmic-trading-with-python 2,664 over 3 years ago Source code for Algorithmic Trading with Python (2020) by Chris Conlan
MEDIUM_NoteBook 2,070 3 months ago Repository containing notebooks of 's posts on Medium
QuantFinance 389 13 days ago Training materials in quantitative finance
IPythonScripts 146 almost 6 years ago Tutorials about Quantitative Finance in Python and QuantLib: Pricing, xVAs, Hedging, Portfolio Optimisation, Machine Learning and Deep Learning
Computational-Finance-Course 362 7 months ago Materials for the course of Computational Finance
Machine-Learning-for-Asset-Managers 472 about 1 year ago Implementation of code snippets, exercises and application to live data from Machine Learning for Asset Managers (Elements in Quantitative Finance) written by Prof. Marcos López de Prado
Python-for-Finance-Cookbook 721 over 1 year ago Python for Finance Cookbook, published by Packt
modelos_vol_derivativos 54 about 1 year ago "Modelos de Volatilidade para Derivativos" book's Jupyter notebooks
NMOF 33 17 days ago Functions, examples and data from the first and the second edition of "Numerical Methods and Optimization in Finance" by M. Gilli, D. Maringer and E. Schumann (2019, ISBN:978-0128150658)
py4fi2nd 1,383 12 months ago Jupyter Notebooks and code for Python for Finance (2nd ed., O'Reilly) by Yves Hilpisch
aiif 301 9 months ago Jupyter Notebooks and code for the book Artificial Intelligence in Finance (O'Reilly) by Yves Hilpisch
py4at 673 12 months ago Jupyter Notebooks and code for the book Python for Algorithmic Trading (O'Reilly) by Yves Hilpisch
dawp 583 over 3 years ago Jupyter Notebooks and code for Derivatives Analytics with Python (Wiley Finance) by Yves Hilpisch
dx 706 almost 4 years ago DX Analytics | Financial and Derivatives Analytics with Python
QuantFinanceBook 465 5 months ago Quantitative Finance book
rough_bergomi 107 about 6 years ago A Python implementation of the rough Bergomi model
frh-fx 9 over 6 years ago A python implementation of the fast-reversion Heston model of Mechkov for FX purposes
Value Investing Studies 80 almost 3 years ago A collection of data analysis studies that examine the performance and characteristics of value investing over long periods of time
Machine Learning Asset Management 1,669 almost 3 years ago Machine Learning in Asset Management (by @firmai)
Deep Learning Machine Learning Stock 1,198 7 months ago Deep Learning and Machine Learning stocks represent a promising long-term or short-term opportunity for investors and traders
Technical Analysis and Feature Engineering 116 8 months ago Feature Engineering and Feature Importance of Machine Learning in Financial Market
Differential Machine Learning and Axes that matter by Brian Huge and Antoine Savine 136 almost 2 years ago Implement, demonstrate, reproduce and extend the results of the Risk articles 'Differential Machine Learning' (2020) and 'PCA with a Difference' (2021) by Huge and Savine, and cover implementation details left out from the papers
systematictradingexamples 334 about 4 years ago Examples of code related to book and
pysystemtrade_examples 170 over 6 years ago Examples using pysystemtrade for Robert Carver's
ML_Finance_Codes 1,749 over 4 years ago Machine Learning in Finance: From Theory to Practice Book
Hands-On Machine Learning for Algorithmic Trading 1,412 over 1 year ago Hands-On Machine Learning for Algorithmic Trading, published by Packt
financialnoob-misc 25 about 1 month ago Codes from @financialnoob's posts
MesoSim Options Trading Strategy Library 6 6 months ago Free and public Options Trading strategy library for MesoSim
Quant-Finance-With-Python-Code 75 10 months ago Repo for code examples in Quantitative Finance with Python by Chris Kelliher
QuantFinanceTraining 20 7 months ago This repository contains codes that were executed during my training in the CQF (Certificate in Quantitative Finance). The codes are organized by class, facilitating navigation and reference
Statistical-Learning-based-Portfolio-Optimization 13 5 months ago This R Shiny App utilizes the Hierarchical Equal Risk Contribution (HERC) approach, a modern portfolio optimization method developed by Raffinot (2018)
book_irds3 50 almost 2 years ago Code repository for Pricing and Trading Interest Rate Derivatives
Autoencoder-Asset-Pricing-Models 57 3 months ago Reimplementation of Autoencoder Asset Pricing Models ( )
Finance 1,970 about 1 month ago 150+ quantitative finance Python programs to help you gather, manipulate, and analyze stock market data
101_formulaic_alphas 13 about 2 years ago Implementation of using qstrader

Backlinks from these awesome lists: