If you are building a cryptocurrency trading bot, market maker, or data aggregator in Go, you already know that talking to an exchange's API should be the least of your worries. Your focus needs to be on strategy, risk management, and execution speed. Unfortunately, many exchange SDKs are either auto-generated and unidiomatic, bloated with third-party dependencies, or missing crucial features like automatic request signing and resilient WebSockets.

Enter phemex-go — a friendly, batteries-included Golang SDK for the Phemex crypto exchange.

Whether you want to trade spot, perpetuals (USDⓈ-M and Coin-M), or margin, stream live market data, or manage your wallets, phemex-go provides a clean, idiomatic, and robust foundation for your Go applications.

In this article, we will explore why phemex-go stands out, how its core architecture simplifies exchange interactions, and walk through practical examples of using its REST and WebSocket APIs.

Why Choose phemex-go?