vnpy_paperaccount
VeighNa框架的本地仿真交易模块
A plug-in for the VeighNa trading framework that provides a local simulated trading account using live market prices, letting you practice and test strategies without risking real money.
vnpy_paperaccount is a plug-in module for the VeighNa trading framework that lets you practice trading without risking real money. It provides a simulated (or "paper") trading account running locally on your computer, using live market prices. Think of it as a flight simulator for traders: you get to test your strategies, practice placing orders, and see how your trading ideas would perform — all without putting actual capital at risk.
At a high level, the module connects to real-time market data feeds so the prices you see are genuine. When you place a trade through its user interface, the system simulates the execution locally instead of sending the order to an actual exchange. Your simulated positions, balances, and trade history are tracked on your machine, giving you a realistic sense of how your trades would play out in the real market. The README doesn't go into deep detail about the exact matching mechanics, but the core idea is that it mirrors live market conditions without touching real money.
This tool is designed for anyone using the VeighNa platform who wants a safe environment to build confidence or validate strategies. A beginner learning to trade can use it to understand how order types and market movements work. A quantitative developer testing a new algorithm can run it against live prices before going live with real funds. A PM evaluating a trading team's approach can review simulated performance metrics. It runs on Windows, Linux, and macOS and installs with a standard Python package command, making it accessible to anyone already in the VeighNa ecosystem.
Where it fits
- Practice placing orders and learning how different order types behave with live market prices.
- Test a quantitative trading algorithm against real-time data before committing real funds.
- Review simulated performance metrics to evaluate a trading team's approach without financial risk.
- Build confidence as a beginner trader by experimenting in a safe, simulated environment.