Skip to content
FXMacroNews

The business of foreign exchange

Ecosystem directory

GitHub Repositories for FX and Quantitative Finance

An index of public GitHub repositories across FX trading, macro research and quantitative finance. Browse by category or search by name, topic and language.

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

1,763 repositories

Page 13 of 36

A series of interactive labs we prepared for the Chartered Financial Data Scientist Certification. The content of the series is based on Python, IPython Notebook, and PyTorch.

Language
Jupyter Notebook
Stars
216
Forks
45
Licence
BSD-3-Clause
Latest push
2024-07-25

一个基于长桥证券接口(LongPort OpenAPI)的抓取工具,按配置批量抓取指定股票在指定日期的历史 K 线并写入 PostgreSQL。支持多只股票、多日期、去重插入、进度显示。

Language
Go
Stars
216
Forks
33
Latest push
2025-10-30

DRL Trading - AI Gold Trading Bot Deep reinforcement learning system for autonomous XAUUSD trading using: - PPO & Dreamer algorithms (PyTorch) - 140+ features: multi-timeframe, macro data, economic…

Language
Python
Stars
216
Forks
84
Licence
MIT
Latest push
2026-09-28

I created this library to streamline the process of developing an Expert Advisor in MQL5. While MQL5 development can be complex, the same task is more straightforward in Python.

Language
Python
Stars
215
Forks
54
Licence
MIT
Latest push
2025-12-15

Gymnasium trading environment for FX and crypto: backtrader execution bridge, protected SL/TP orders, solvency curricula and audit-grade trade diagnostics

Language
Python
Stars
213
Forks
56
Latest push
2026-10-28

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

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

Optimized Python fork of Backtrader for strategy backtesting and live trading, with vectorized and event-driven modes, multi-timeframe data, technical indicators, and portfolio analytics.

Language
Python
Stars
208
Forks
47
Licence
GPL-3.0
Latest push
2026-11-04

🚀一个结合了LSTM股票价格预测与强化学习交易策略的智能股票交易系统。通过深度学习对股市数据进行精准预测,并利用强化学习自动优化交易决策,实现了从数据获取、趋势预测到自动交易的全流程智能化。系统不仅提供了强大的数据处理和预测功能,还内置交互式可视化界面,帮助用户实时查看预测结果与交易决策,适用于多支股票的批量处理,帮助投资者更好地捕捉市场机会,提升交易效率与收益。

Language
Python
Stars
207
Forks
37
Licence
Apache-2.0
Latest push
2025-04-13

Open-source C++17 engine for backtesting and forward execution, with a versioned C ABI; Pine Script v6 runs through code generation. Against TradingView's own trade lists, all 7,989 graded probes…

Language
C++
Stars
205
Forks
50
Licence
Apache-2.0
Latest push
2026-11-05

本仓库为公众号FinHack炼金术《从零开始卷量化》系列文章示例代码,带你零基础入门量化交易!

Language
Jupyter Notebook
Stars
201
Forks
47
Latest push
2022-05-18

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

cot_reports is a Python library for fetching the Commitments of Trader reports of the Commodity Futures Trading Commission (CFTC). The following COT reports are supported: Legacy Futures-only…

Language
Python
Stars
199
Forks
54
Licence
MIT
Latest push
2024-04-06

宽宝 QuantBuddy: 一整套面向Agent Invesment投资研究与决策的底层设施与能力的调用skill, 覆盖A股/港股/美股/期货/宏观/ETF的量化分析与计算。支持行情、估值、财务查询、选股筛选、因子计算、策略回测。A complete infrastructure for Agent based investment analysis and decision…

Language
Python
Stars
199
Forks
26
Licence
MIT
Latest push
2026-11-05

High-performance quantitative finance in Rust and Python — 130+ stochastic processes, option pricing, calibration, fixed income, risk & copulas, with SIMD/GPU acceleration.

Language
Rust
Stars
199
Forks
11
Licence
MIT
Latest push
2026-11-04

Designed to trade, retrieve live/history price. Intended to be used to build auto-trading robots, custom trading on FXCM accounts.

Language
HTML
Stars
197
Forks
66
Latest push
2026-10-29

🔮 Technical analysis math. Indicators, overlays and correlation.

Language
JavaScript
Stars
195
Forks
42
Licence
MIT
Latest push
2026-10-07

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

PyTorch for Quantitative Finance: Refine Derivatives Hedging and Pricing with Architecture Alightment in Operators

Language
Python
Stars
191
Forks
28
Licence
Apache-2.0
Latest push
2025-12-16

MorningStar.com scraper that consolidates tens of thousands of financial records into a SQLite relational database. Class 'dataframes' easily converts the SQLite data into pandas DataFrames (see…

Language
Jupyter Notebook
Stars
190
Forks
42
Licence
MIT
Latest push
2023-07-28

AI/ML Trading Bot for MetaTrader 5 - XAUUSD Gold Trading. Merged & optimized codebase from 25+ top repos including DRL (PPO/Dreamer), LSTM, Transformers, Ensemble ML, and production-ready trading…

Language
Python
Stars
190
Forks
54
Latest push
2026-11-04

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.