Esta página se muestra en inglés. Una traducción al español está en curso.
SkillsMay 20, 2026·2 min de lectura

VeighNa — Open-Source Quantitative Trading Platform

A comprehensive Python-based quantitative trading framework originating from China, supporting strategy development, backtesting, and live trading across equities, futures, forex, and crypto.

Listo para agents

Instalación lista para agent

Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.

Native · 98/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Skill
Instalación
Single
Confianza
Confianza: Established
Entrada
VeighNa Trading Platform
Comando de instalación directa
npx -y tokrepo@latest install b903a24f-5425-11f1-9bc6-00163e2b0d79 --target codex

Ejecutar después de confirmar el plan con dry-run.

Introduction

VeighNa (formerly vnpy) is a Python-based quantitative trading platform that originated in the Chinese financial technology community. It provides a modular architecture for developing, backtesting, and executing automated trading strategies across multiple asset classes including equities, futures, options, and crypto.

What VeighNa Does

  • Supports live trading connections to Chinese and international brokers and exchanges
  • Provides a desktop GUI for strategy monitoring, order management, and portfolio tracking
  • Includes backtesting and optimization engines for evaluating strategy performance
  • Offers modules for spread trading, options pricing, and portfolio management
  • Supports CTA, market-making, arbitrage, and algorithmic execution strategies

Architecture Overview

VeighNa uses an event-driven architecture centered around an EventEngine that dispatches market data, order, and trade events to registered handlers. Gateway modules abstract broker/exchange connectivity, while app modules provide specialized trading functionality. The platform uses a plugin system that lets traders mix and match components.

Self-Hosting & Configuration

  • Install the core framework via pip with optional gateway packages
  • Configure broker connections through the GUI or JSON configuration files
  • Deploy strategies as Python classes registered with the CTA engine
  • Run on Windows or Linux with Python 3.10+
  • Use Docker for headless server deployments in production

Key Features

  • Event-driven architecture for low-latency order routing and data processing
  • Gateway adapters for dozens of Chinese brokers and international exchanges
  • Built-in risk management with position limits and order flow controls
  • Real-time charting and indicator display in the desktop interface
  • Large community with extensive Chinese-language documentation and tutorials

Comparison with Similar Tools

  • Backtrader — Focused on backtesting only; VeighNa includes live trading infrastructure
  • Freqtrade — Crypto-focused; VeighNa covers equities, futures, and options as well
  • QuantConnect/Lean — Cloud-based; VeighNa is fully self-hosted with direct broker connections
  • Zipline — Archived by Quantopian; VeighNa is actively maintained

FAQ

Q: Is VeighNa only for Chinese markets? A: No. While it has strong Chinese broker support, it also connects to Interactive Brokers, Binance, and other international platforms.

Q: Do I need the desktop GUI? A: No. VeighNa can run headless via its script trader module for server-based deployments.

Q: What asset classes are supported? A: Equities, futures, options, forex, and cryptocurrencies depending on the gateway.

Q: Is it free to use? A: Yes, VeighNa is MIT-licensed and fully open source.

Sources

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados