Commit Graph

20 Commits

Author SHA1 Message Date
0xcathiefish bba06206ab docs: restructure README, add Chinese translation, Notion template and Docker Compose deployment
- Add README_CN.md as a full Chinese translation of README.md
- Add a Notion Template & Preview section with the database template link,
  collapsible preview screenshots, and a note on the companion TradeSnap
  service that provides the TradingView screenshots
- Add a Deployment section documenting Docker Compose (recommended) and local build
- Use relative links so they resolve on GitHub
- Drop the Code Example and Requirements sections and renumber

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 06:53:47 +00:00
0xcathiefish e82da57136 fix: copy renamed tradesync binary in Dockerfile
The project was renamed from nosync to tradesync, but the runtime stage still
copied/ran /app/nosync, which no longer exists in target/release, breaking the
image build. Point COPY and CMD at the tradesync binary.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 17:12:22 +00:00
0xcathiefish be89765d80 fix: recover Hyperliquid WS from idle-disconnect and bound TradeSnap requests
The monitor could hang indefinitely (last event 2026-06-01) after an idle
server disconnect. Root cause: InfoClient::new disables SDK reconnect, so on
disconnect the reader task emitted a single Message::NoData and exited without
dropping the channel sender; the old code swallowed NoData into the catch-all
arm and looped back to recv(), which then blocked forever.

- hyperliquid.rs: create the client with InfoClient::with_reconnect so the SDK
  auto-reconnects (~1s) and resubscribes UserEvents on the same channel. Handle
  Message::NoData explicitly for observability instead of swallowing it.
- Drop the 180s recv() timeout: the SDK does not forward Pong frames to the
  subscription channel, so a quiet market (no fills) is indistinguishable from a
  dead connection and any finite timeout caused spurious reconnects, each
  opening a blind window where fills (not backfilled on resubscribe) are missed.
- notion.rs: give the TradeSnap HTTP client a 15s timeout. Events are consumed
  serially, so a hung screenshot request would otherwise stall all trade syncing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 17:03:01 +00:00
0xcathiefish 6d7b049416 refactor: rename project to tradesync and update docker image tags to latest 2026-06-01 06:08:05 +00:00
0xcathiefish 777ca2d62a feat: integrate TradeSnap to fetch and append multi-timeframe screenshots to Notion page 2026-06-01 05:56:41 +00:00
0xcathiefish f54ba537a9 feat: add Dockerfile and docker-compose.yml configured for ghcr.io/exchanges-lab/nosync 2026-05-30 10:14:54 +00:00
0xcathiefish 88052a5c5b docs: translate README.md to English 2026-05-30 10:00:45 +00:00
0xcathiefish 25b30ebecd docs: update CHANGELOG.md to document Level logic removal 2026-05-30 09:48:11 +00:00
0xcathiefish 330b8c6edb chore: remove Level calculation and property from code and Notion payload 2026-05-30 09:48:05 +00:00
0xcathiefish 709ed37cb5 docs: update CHANGELOG.md with Level and Order Type features 2026-05-30 09:44:10 +00:00
0xcathiefish 8cc5a6ec84 feat: implement Level and Order Type calculation and integrate with Notion writer 2026-05-30 09:44:05 +00:00
0xcathiefish 43c0f489a4 docs: update CHANGELOG.md with NotionWriter and oid aggregation features 2026-05-30 09:35:44 +00:00
0xcathiefish d86b03f3bb feat: implement NotionWriter database insertion and wire it with HyperliquidMonitor 2026-05-30 09:35:36 +00:00
0xcathiefish e721988984 chore: add Notion configuration placeholders to env.example 2026-05-30 09:18:12 +00:00
0xcathiefish cbf8b36cf1 feat: implement oid aggregation for opening fills to prevent split records 2026-05-30 09:15:03 +00:00
0xcathiefish df09672130 feat: enhance HyperliquidMonitor to parse and emit all trade actions: Open, Increase, Decrease, Close 2026-05-30 09:10:27 +00:00
0xcathiefish e6dc20f845 chore: remove unused APP_NAME environment variable 2026-05-30 09:02:45 +00:00
0xcathiefish eadaa81438 feat: implement HyperliquidMonitor for position opening and migrate dependencies to git repository urls 2026-05-30 09:00:53 +00:00
0xcathiefish ffd98934e4 feat: add external references as git submodules noc and hype 2026-05-30 08:47:48 +00:00
0xcathiefish aa80ac21ee feat: initialize project structure, modules and configurations 2026-05-30 08:38:18 +00:00