mirror of
https://github.com/exchanges-lab/tradesync.git
synced 2026-08-05 05:06:07 +08:00
docs: update CHANGELOG.md with NotionWriter and oid aggregation features
This commit is contained in:
+6
-3
@@ -5,15 +5,18 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
|
- 实现 `NotionWriter` 模块,支持将格式化交易记录批量写入 Notion 数据库。
|
||||||
|
- 实现 `HyperliquidMonitor` 针对同一订单(`oid`)在 500 毫秒内的多成交 tick 聚合功能,防止拆单造成多笔重复写入。
|
||||||
|
- 定义 `NotionRowData` 与 `TradeAction` 结构,提供结构化的 Notion 写入数据模型。
|
||||||
|
- 新增 `examples/fetch_notion_db.rs` 用于实时抓取 Notion Database 列配置的开发脚本。
|
||||||
- 实现 `HyperliquidMonitor` 用于实时订阅以太坊/Hyperliquid钱包账户的交易与开仓事件。
|
- 实现 `HyperliquidMonitor` 用于实时订阅以太坊/Hyperliquid钱包账户的交易与开仓事件。
|
||||||
- 新增 `PositionOpenEvent` 数据结构,当检测到持仓从0变动为非0时触发。
|
- 添加 `alloy`、`chrono` 与 `serde_json` 库依赖。
|
||||||
- 添加 `alloy` 库依赖,用于强类型地址解析。
|
|
||||||
- 新增 integration test `tests/monitor_test.rs` 与使用示例 `examples/demo.rs`。
|
- 新增 integration test `tests/monitor_test.rs` 与使用示例 `examples/demo.rs`。
|
||||||
- 添加外部参考库作为 Git 子模块:`noc` (notion-client) 与 `hype` (hyperliquid-rust-sdk)。
|
- 添加外部参考库作为 Git 子模块:`noc` (notion-client) 与 `hype` (hyperliquid-rust-sdk)。
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
- 重构 `src/main.rs`,实现从 Hyperliquid WebSocket 捕获开仓事件并自动格式化写入 Notion Database 的闭环服务。
|
||||||
- 将 `hyperliquid_rust_sdk` 与 `notion-client` 依赖方式更改为指向官方 Git 仓库的远程依赖,移除本地 Path 依赖。
|
- 将 `hyperliquid_rust_sdk` 与 `notion-client` 依赖方式更改为指向官方 Git 仓库的远程依赖,移除本地 Path 依赖。
|
||||||
- 重构 `src/main.rs` 以使用 `HyperliquidMonitor` 并通过 `.env` 环境变量加载钱包与测试网选项。
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- 移除初始化模版中未使用的占位模块 (`ModuleA`, `ModuleB`) 及其对应测试文件。
|
- 移除初始化模版中未使用的占位模块 (`ModuleA`, `ModuleB`) 及其对应测试文件。
|
||||||
|
|||||||
Reference in New Issue
Block a user