完善下单表单与 CTP 持仓,requirements 加入 vnpy 并更新部署文档

以损定仓/固定张数分栏下单、限价市价、持仓仅读柜台;DEPLOY 补充 SimNow 与 vnpy 安装说明。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-24 10:52:25 +08:00
parent 709801305f
commit 62cd868f79
9 changed files with 394 additions and 308 deletions
+5
View File
@@ -26,6 +26,11 @@ need_install python3 python3
need_install python3-venv python3-venv
need_install git git
# vnpy_ctp 在 Linux 上可能需要编译
if ! dpkg -s build-essential &>/dev/null; then
apt-get install -y build-essential python3-dev
fi
if ! command -v pm2 &>/dev/null; then
echo "==> 安装 PM2..."
if ! command -v npm &>/dev/null; then