VeighNa (vnpy)
Open-source Python framework for quantitative trading with exchange gateways, CTA strategy templates and a graphical backtester.
A full Python trading workbench: connect to many venues through gateways, build strategies from a template and backtest them in a graphical tool.
Who it is for
Python developers who want one framework for strategy research, backtesting and live connections to many brokers and venues.
Strengths
- Many trading gateway interfaces covering futures, options, stocks, futures options and overseas markets.
- CTA strategy template for trend-following ideas, with multi-process and genetic-algorithm parameter optimization.
- CtaBacktester graphical tool backtests on K-line and tick data.
- Extra modules include AlgoTrading (TWAP, Sniper, Iceberg), SpreadTrading, OptionMaster, DataRecorder and RiskManager.
Good to know
- Large framework with a real learning curve; best suited to people comfortable with Python.
- The Windows installers on the website are the easiest start; other setups mean following the repository documentation.
- Gateway availability depends on each venue, so check which ones cover the markets and broker you want.
- Always backtest with fees and slippage, then paper trade before risking money; examples are illustrative, not a promise of returns.
Custom bots are coming soon
We are preparing a service to build bots on tools like this one. Follow our Telegram channel to know when it opens.
Real-life uses
One framework from backtest to paper trading
Build a trend-following strategy from a template, backtest it on bar and tick data in a graphical tool, then run it in simulation through a broker gateway before any real money. Illustrative only, never a promise of returns.
Compare it with others
TradingView vs AmiBroker vs ProRealTime: which strategy platform fits you?
Three popular platforms for charting, backtesting and automation compared side by side: languages, pricing model, automation, markets and who each suits. Facts taken from each tool's review page.
MetaTrader 5 vs cTrader vs NinjaTrader: which trading platform to automate on
Three desktop trading platforms with built-in robots compared side by side: language, markets, strategy testing, cost model and who each one suits.
Quick answers
How much does VeighNa (vnpy) cost?
Free (open source). Check the official website for the separate Elite edition. Prices change, so check the official website before you decide.
Is VeighNa (vnpy) open source?
Yes. License: MIT.
Who is VeighNa (vnpy) for?
Python developers who want one framework for strategy research, backtesting and live connections to many brokers and venues.
What is VeighNa (vnpy) written in?
VeighNa (vnpy) is written in Python.
What should I know before using VeighNa (vnpy)?
Large framework with a real learning curve; best suited to people comfortable with Python. The Windows installers on the website are the easiest start; other setups mean following the repository documentation. Gateway availability depends on each venue, so check which ones cover the markets and broker you want. Always backtest with fees and slippage, then paper trade before risking money; examples are illustrative, not a promise of returns.
Want a bot like this when custom bots open? Get notified · All comparisons · Guides
Sources
Every fact on this page comes from these sources, checked on 2026-11-30. If something has changed, the source wins.
- https://www.vnpy.com/: described as an open-source quantitative trading platform framework on Python, gateways, CTA strategies, graphical backtester, extra modules, Windows installers for Community Edition 4.5.0 and an Elite edition
- https://github.com/vnpy/vnpy: MIT license, about 46,600 stars, Python 3.10 or later (3.13 recommended), no archive notice
Alternatives in Trading platforms
AmiBroker
Fast Windows charting, backtesting and optimization software with its own AFL language and perpetual licences.
cTrader Algo
The part of cTrader for building robots (cBots) and indicators in C# or Python.
MetaTrader 5 (MQL5)
Trading platform widely offered by FX and CFD brokers, with robots (Expert Advisors) in MQL5 and a strategy tester.
NinjaTrader
Futures trading platform and broker whose desktop software is free for advanced charting, backtesting and simulation, with automated strategies in NinjaScript (C#).