Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@terwey
Copy link
Collaborator

@terwey terwey commented Oct 23, 2025

feat(api,ws,openapi,cmd,storage): add HL price SSE & cancel-by-metadata; wire emitter/price source; improve unseal wait

  • API: add POST /api/orders/{metadata}/cancel (dry-run + reason, 404/409 handling)
  • SSE: add GET /sse/hyperliquid/prices streaming BBO frames (event: bbo)
  • WS: implement BBO pub-sub (topic, broadcast, per-coin normalization, initial snapshot)
  • DI: WithOrderEmitter, WithHyperliquidPriceSource (+ proxy) and wiring in main
  • Startup: wait for vault unseal concurrently; handle early HTTP server failure/cancel
  • OpenAPI/Gen: update openapi.yaml, regenerate ops
  • Storage: use UnixMilli for *_utc filters (better precision)
  • Logging: richer errors/warnings in WS and SSE paths

…ta; wire emitter/price source; improve unseal wait

* **API**: add `POST /api/orders/{metadata}/cancel` (dry-run + reason, 404/409 handling)
* **SSE**: add `GET /sse/hyperliquid/prices` streaming BBO frames (`event: bbo`)
* **WS**: implement BBO pub-sub (topic, broadcast, per-coin normalization, initial snapshot)
* **DI**: `WithOrderEmitter`, `WithHyperliquidPriceSource` (+ proxy) and wiring in `main`
* **Startup**: wait for vault unseal concurrently; handle early HTTP server failure/cancel
* **OpenAPI/Gen**: update `openapi.yaml`, regenerate ops
* **Storage**: use `UnixMilli` for *_utc filters (better precision)
* **Logging**: richer errors/warnings in WS and SSE paths
@terwey terwey merged commit 8cd38f0 into main Oct 23, 2025
1 check passed
@terwey terwey deleted the coinStream branch October 31, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants