Skip to content
FXMacroNews

The business of foreign exchange

Ecosystem directory

Portfolio and risk GitHub Repositories

Portfolio optimisation, factor models, performance analytics and risk measurement.

1,763 repositories · facts retrieved 2026-11-05

63 repositories

Page 1 of 2

AI 时代的伯克希尔:基于 Claude Code / Codex 的价值投资研究框架。巴菲特·芒格·段永平·李录四大师方法论 + 多Agent并行研究。| AI-era Berkshire: a value investing research framework built for Claude Code / Codex. 4 masters' methodologies +…

Language
HTML
Stars
17,017
Forks
2,500
Licence
MIT
Latest push
2026-11-04

Portfolio analytics for quants, written in Python

Language
Python
Stars
7,796
Forks
1,272
Licence
Apache-2.0
Latest push
2026-11-02

Build your autonomous hedge fund in minutes. AutoHedge harnesses the power of swarm intelligence and AI agents to automate market analysis, risk management, and trade execution.

Language
Python
Stars
6,627
Forks
967
Licence
MIT
Latest push
2026-05-11

Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity

Language
Jupyter Notebook
Stars
6,148
Forks
1,193
Licence
MIT
Latest push
2026-07-07

MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.

Language
Python
Stars
4,967
Forks
1,292
Latest push
2023-10-02

A list of online resources for quantitative modeling, trading, portfolio management

Stars
4,253
Forks
719
Licence
Apache-2.0
Latest push
2024-06-15

Statistical and Algorithmic Investing Strategies for Everyone

Language
Python
Stars
3,332
Forks
370
Licence
GPL-3.0
Latest push
2022-07-30

A comprehensive quantitative trading system with AI-powered analysis, real-time data processing, and advanced risk management

Language
Python
Stars
2,982
Forks
614
Licence
MIT
Latest push
2025-07-29

The Open Source Trading Ecosystem for Everyone.

Language
Python
Stars
2,963
Forks
1,407
Licence
AGPL-3.0
Latest push
2026-11-03

Python library for portfolio optimization, factor model construction, and risk management built on scikit-learn

Language
Python
Stars
2,591
Forks
300
Licence
BSD-3-Clause
Latest push
2026-10-29

PanWatch — AI stock monitoring for A-shares, HK & US markets, powered by TradingAgents. Portfolio insights, real-time alerts & automated reports.|盯盘侠:覆盖 A股/港股/美股的 AI 盯盘、持仓分析、实时提醒与自动报告。

Language
Python
Stars
2,391
Forks
437
Licence
MIT
Latest push
2026-11-04

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess…

Language
Python
Stars
2,125
Forks
549
Licence
MIT
Latest push
2026-02-11

A program for financial portfolio management, analysis and optimisation.

Language
Python
Stars
1,844
Forks
242
Licence
MIT
Latest push
2023-11-04

Portfolio optimization with deep learning.

Language
Python
Stars
1,199
Forks
172
Licence
Apache-2.0
Latest push
2024-01-24

Research in investment finance with Python Notebooks

Language
Jupyter Notebook
Stars
1,137
Forks
231
Licence
MIT
Latest push
2026-07-03

Simple algorithmic stock and option trading for Node.js.

Language
JavaScript
Stars
670
Forks
121
Licence
Apache-2.0
Latest push
2022-12-29

Pre-crisis Risk Management for Personal Finance

Language
Jupyter Notebook
Stars
606
Forks
38
Licence
CC0-1.0
Latest push
2025-08-30

Attempting to replicate "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem" (and an openai gym environment)

Language
Jupyter Notebook
Stars
562
Forks
177
Licence
MIT
Latest push
2025-03-18

공식 API에 없는 30+ 기능까지, 터미널과 AI에서 쓰세요. 토스증권 비공식 CLI·MCP.

Language
Go
Stars
520
Forks
84
Licence
MIT
Latest push
2026-11-05

Turn Codex into your investment workflow team

Language
Python
Stars
380
Forks
65
Licence
Apache-2.0
Latest push
2026-07-24

An open source library for portfolio optimisation

Language
Python
Stars
375
Forks
93
Licence
MIT
Latest push
2024-02-27

Fast and scalable construction of risk parity portfolios

Language
Python
Stars
327
Forks
75
Licence
MIT
Latest push
2026-08-31

Entropy Pooling views and stress testing combined with Conditional Value-at-Risk (CVaR) portfolio optimization in Python.

Language
Python
Stars
313
Forks
54
Licence
GPL-3.0
Latest push
2026-10-08

Agent-native investment research workspace for evidence-tracked, refreshable investment theses across equities, earnings, macro, and portfolio review.

Language
Python
Stars
282
Forks
44
Licence
Apache-2.0
Latest push
2026-09-08

Investment portfolio and stocks analyzing tools for Python with free historical data

Language
Python
Stars
275
Forks
43
Licence
MIT
Latest push
2026-10-27

本地优先的 AI 投资研究工作台(AI investment research workbench),支持深度调研、证据化投资论点、投资组合风险分析、自选股与 Pi Agent 副驾驶。

Language
TypeScript
Stars
264
Forks
74
Latest push
2026-10-27

⚡ Python library for getting publically available Mutual Funds data in India

Language
Python
Stars
260
Forks
73
Licence
MIT
Latest push
2026-10-23

quantitative security portfolio analysis. The analysis pipeline including data storage abstraction, alpha calculation, ML based alpha combining and portfolio calculation.

Language
Jupyter Notebook
Stars
239
Forks
71
Licence
MIT
Latest push
2022-09-02

Python package of actuarial models, tools, examples and learning materials.

Language
Python
Stars
227
Forks
62
Licence
MIT
Latest push
2026-10-31

Portfolio Construction and Risk Management book's Python code.

Language
Jupyter Notebook
Stars
214
Forks
59
Licence
GPL-3.0
Latest push
2026-11-02

Notes and examples about Portfolio Construction and Analysis with Python (Jupyter notebooks)

Language
Jupyter Notebook
Stars
211
Forks
131
Latest push
2023-12-11

Plug-and-play AI agent skills for OKX — letting any LLM agent trade, manage portfolios, query live market data, and run grid/DCA bots through a single okx CLI, no API wiring required.

Language
Shell
Stars
200
Forks
29
Licence
MIT
Latest push
2026-10-28

PortfolioLab is a python library that enables traders to take advantage of the latest portfolio optimisation algorithms used by professionals in the industry.

Stars
191
Forks
51
Latest push
2021-12-02

FinTwit-Bot is a Discord bot designed to track and analyze financial markets by pulling data from platforms like Twitter, Reddit, and Binance. It features customizable tools for sentiment analysis…

Language
Python
Stars
165
Forks
32
Licence
MIT
Latest push
2026-10-28

Оптимизация долгосрочного портфеля акций

Language
Python
Stars
163
Forks
34
Licence
Unlicense
Latest push
2026-11-01

Indian stock market MCP server for NSE & BSE — 48 tools (55 with aliases) for about 8,000 stocks: live quotes, financials, technicals, 326-ratio screener, FII/DII flows, option chains & IV, filings…

Language
TypeScript
Stars
147
Forks
32
Licence
MIT
Latest push
2026-10-28

Use Python like a spreadsheet!

Language
Python
Stars
136
Forks
35
Licence
LGPL-3.0
Latest push
2026-10-29

The full scope of IFRS 9 Impairment models including PD, LGD and EAD are provided. It also covers ECL, which is the combination of those three parameters as well as staging criteria.

Language
Jupyter Notebook
Stars
134
Forks
52
Latest push
2025-11-08

Constrained and Unconstrained Risk Budgeting / Risk Parity Allocation in Python

Language
Python
Stars
133
Forks
53
Licence
MIT
Latest push
2023-07-06

A simple Python package for optimizing investment portfolios using historical return data from Yahoo Finance. Users can easily determine the optimal portfolio allocation among a given set of tickers…

Language
Python
Stars
106
Forks
15
Licence
MIT
Latest push
2024-03-11

Quadratic Programming based Python Package for Portfolio Optimization

Language
Python
Stars
98
Forks
16
Latest push
2025-06-30

🤖 Predict the stock market with AI 用AI预测股票市场

Language
Python
Stars
97
Forks
20
Licence
MIT
Latest push
2021-12-30

X-Trend: Few-Shot Learning Patterns in Financial Time-Series for Trend-Following Strategies

Stars
97
Forks
12
Licence
MIT
Latest push
2024-02-25

DcaPal is a free, no registration, online tool to help you keep your portfolio balanced with dollar cost averaging investments

Language
TypeScript
Stars
84
Forks
14
Licence
MIT
Latest push
2026-10-29

Asset Allocation application

Language
JavaScript
Stars
83
Forks
18
Licence
MIT
Latest push
2025-03-15

Repository facts come from GitHub's public API and link to each project's own page. Figures are as GitHub reported them on 2026-11-05.

Repositories are selected by topic and activity on GitHub, with forks, duplicate copies and promotional projects left out. A listing is not an endorsement or a security review. Check a project's code, licence and maintainers before you use it. To correct or remove a listing, email info@fxmacrodata.com.