Cette page est affichée en anglais. Une traduction française est en cours.
ScriptsMay 20, 2026·2 min de lecture

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.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
VeighNa Trading Platform
Commande CLI universelle
npx tokrepo install b903a24f-5425-11f1-9bc6-00163e2b0d79

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

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires