mirror of
https://github.com/exchanges-lab/tradesync.git
synced 2026-08-05 05:06:07 +08:00
feat: implement HyperliquidMonitor for position opening and migrate dependencies to git repository urls
This commit is contained in:
+12
-1
@@ -5,7 +5,18 @@
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- 添加外部参考库作为 Git 子模块:`noc` (notion-client) 与 `hype` (hyperliquid-rust-sdk)
|
||||
- 实现 `HyperliquidMonitor` 用于实时订阅以太坊/Hyperliquid钱包账户的交易与开仓事件。
|
||||
- 新增 `PositionOpenEvent` 数据结构,当检测到持仓从0变动为非0时触发。
|
||||
- 添加 `alloy` 库依赖,用于强类型地址解析。
|
||||
- 新增 integration test `tests/monitor_test.rs` 与使用示例 `examples/demo.rs`。
|
||||
- 添加外部参考库作为 Git 子模块:`noc` (notion-client) 与 `hype` (hyperliquid-rust-sdk)。
|
||||
|
||||
### Changed
|
||||
- 将 `hyperliquid_rust_sdk` 与 `notion-client` 依赖方式更改为指向官方 Git 仓库的远程依赖,移除本地 Path 依赖。
|
||||
- 重构 `src/main.rs` 以使用 `HyperliquidMonitor` 并通过 `.env` 环境变量加载钱包与测试网选项。
|
||||
|
||||
### Removed
|
||||
- 移除初始化模版中未使用的占位模块 (`ModuleA`, `ModuleB`) 及其对应测试文件。
|
||||
|
||||
## [0.1.0] - 2026-05-30
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user