# VeighNa (vn.py)

> Open source Python framework and platform for quantitative trading

Source: https://talira.ai/catalog/veighna-vn-py-3kktswea
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework, Desktop app
- Categories: [business / finance / algorithmic trading](https://talira.ai/categories/business/finance/algorithmic-trading), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: windows, linux, macos[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [VeighNa](https://talira.ai/orgs/vnpy.md)

VeighNa (vn.py) is an open source Python framework for building quantitative trading systems, grown into a full trading platform. Its trader core connects to many trading interfaces (gateways such as CTP for Chinese futures and options, and others for domestic and international markets) behind one API for strategies, with backtesting, data management and strategy apps around it. Version 4.0 added vnpy.alpha for AI strategies: factor feature engineering (including Qlib's Alpha 158), model training with Lasso, LightGBM and MLP, signal-based strategies and a research lab. It runs on Windows, Linux and macOS.

## Links

- Website: https://www.vnpy.com/
- GitHub: https://github.com/vnpy/vnpy
- Docs: https://www.vnpy.com/docs/cn/index.html

## Problems it solves

- build an algorithmic trading system in Python
- backtest and run futures trading strategies in China via CTP
- research ML-based quant strategies in Python

## Features

- trading platform core with many broker gateways
- CTP futures and options interface
- backtesting and data management
- vnpy.alpha for ML factor research and strategies

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 0.64, adoption 0.93, momentum 0.76, community 0.88, backing 0.30, extensibility 0.00.

- last commit 55 days ago
- 28 commits in the last 90 days
- latest release 4.5.0 54 days ago
- 46.5k GitHub stars
- 158 contributors
- backed by VeighNa

## Alternatives

- [NautilusTrader](https://talira.ai/catalog/nautilustrader-ky2qtnk7.md): Open source algorithmic trading engine in Rust with a Python API
- [LEAN (QuantConnect)](https://talira.ai/catalog/lean-quantconnect-hxzb5g48.md): Open source algorithmic trading engine for backtesting and live trading in Python and C#
- [Qlib](https://talira.ai/catalog/qlib-v98z2m26.md): Microsoft's open source AI platform for quantitative investment research
- [QuantDinger](https://talira.ai/catalog/quantdinger-4gzjx5cd.md): Self-hosted AI trading platform: Python strategies, AI market research, backtesting and paper or live trading
- [GS Quant](https://talira.ai/catalog/gs-quant-djw9c8mz.md): Goldman Sachs's Python toolkit for quantitative finance: derivative structuring, trading strategies and risk analytics
- [Qbot](https://talira.ai/catalog/qbot-g42yy8nv.md): Python platform for quantitative trading research: data, AI strategies, backtesting, paper trading and automated live trading

## Sources

[^1]: https://github.com/vnpy/vnpy/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/vnpy/vnpy/blob/master/README_ENG.md (checked 29 Nov 2026)
