更新 MakerEngine 和 TrendEngine,添加启动时订单管理逻辑;更新 AsterGateway,增加持仓同步功能;更新 README.md,修正项目描述及功能列表

This commit is contained in:
discountry
2025-09-24 01:23:42 +08:00
parent 7a2e075d28
commit 633f5fb904
5 changed files with 181 additions and 4 deletions
+2 -2
View File
@@ -63,7 +63,7 @@
7. **风险提示**
建议先在小额或仿真环境中测试策略;真实资金操作前请确认 API 仅开启必要权限,并逐步验证配置。
A Bun-powered trading workstation for Aster perpetual contracts. The project ships two production strategies—an SMA30 trend follower and a dual-sided maker—that share a modular gateway, UI, and persistence layer. Everything runs in the terminal via Ink, with live websocket refresh and automatic recovery from restarts or network failures.
A Bun-powered trading workstation for Aster perpetual contracts. The project ships two production strategies—an SMA30 trend follower and a dual-sided maker—that share a modular gateway, UI, and runtime state derived entirely from the exchange. Everything runs in the terminal via Ink, with live websocket refresh and automatic recovery from restarts or network failures.
## Features
- **Live data over websockets** with REST fallbacks and automatic re-sync after reconnects.
@@ -110,7 +110,7 @@ Current tests cover the order coordinator utilities and strategy helpers; add un
- `src/core/` trend & maker engines plus order coordination
- `src/exchanges/` Aster REST/WS gateway and adapters
- `src/ui/` Ink components and strategy dashboards
- `src/utils/` math helpers, persistence, strategy utilities
- `src/utils/` math helpers and strategy utilities
- `tests/` Vitest suites for critical modules
## Troubleshooting