|
1 | 1 | # zoomex-go |
2 | 2 |
|
| 3 | + |
| 4 | + |
3 | 5 | Go client for [Zoomex](https://www.zoomex.com) cryptocurrency exchange API v3. Covers REST and WebSocket endpoints. |
4 | 6 |
|
5 | | -If you're building a trading bot, market data collector, or portfolio tracker in Go and need to interact with Zoomex — this package wraps the whole v3 API so you don't have to deal with raw HTTP requests, signature generation, or WebSocket connection management yourself. |
| 7 | +If you're building a trading bot, market data collector, or portfolio tracker in Go and need to interact with Zoomex — |
| 8 | +this package wraps the whole v3 API so you don't have to deal with raw HTTP requests, signature generation, or WebSocket |
| 9 | +connection management yourself. |
6 | 10 |
|
7 | 11 | Works with both testnet and mainnet. Supports linear and inverse perpetual contracts. |
8 | 12 |
|
@@ -127,18 +131,21 @@ ws := zoomex.NewWebSocket( |
127 | 131 |
|
128 | 132 | Base URLs used under the hood: |
129 | 133 |
|
130 | | -| | REST | WebSocket | |
131 | | -|---|---|---| |
132 | | -| **Mainnet** | `https://openapi.zoomex.com` | `wss://stream.zoomex.com/v3/private` | |
| 134 | +| | REST | WebSocket | |
| 135 | +|-------------|--------------------------------------|----------------------------------------------| |
| 136 | +| **Mainnet** | `https://openapi.zoomex.com` | `wss://stream.zoomex.com/v3/private` | |
133 | 137 | | **Testnet** | `https://openapi-testnet.zoomex.com` | `wss://stream-testnet.zoomex.com/v3/private` | |
134 | 138 |
|
135 | 139 | ## Authentication |
136 | 140 |
|
137 | | -Private endpoints are signed with HMAC_SHA256. Pass your API key and secret via `WithAPIKey` / `WithSecretKey` — the client builds the signature and sets `X-BAPI-*` headers on each request automatically. You don't need to calculate timestamps or sign anything manually. |
| 141 | +Private endpoints are signed with HMAC_SHA256. Pass your API key and secret via `WithAPIKey` / `WithSecretKey` — the |
| 142 | +client builds the signature and sets `X-BAPI-*` headers on each request automatically. You don't need to calculate |
| 143 | +timestamps or sign anything manually. |
138 | 144 |
|
139 | 145 | Public endpoints (market data) don't require credentials. |
140 | 146 |
|
141 | | -Testnet and mainnet are toggled with `WithTestnet(true|false)`. Get your testnet keys at [testnet.zoomex.com](https://testnet.zoomex.com). |
| 147 | +Testnet and mainnet are toggled with `WithTestnet(true|false)`. Get your testnet keys |
| 148 | +at [testnet.zoomex.com](https://testnet.zoomex.com). |
142 | 149 |
|
143 | 150 | ## Docs |
144 | 151 |
|
|
0 commit comments