SDKs
SDKs.
Seven official SDKs, open source on GitHub: Python, TypeScript, Go, C#, Java, Rust, PHP. One version for all seven, 1.2.0.
Every SDK makes every call of the API, follows the account stream with resume, reads market data, retries only when it is safe, sends an Idempotency-Key with each write, pages through lists and raises typed errors. They are generated from the same OpenAPI document and pass the same conformance suite, so a call has the same name, arguments and answer in each language (what every SDK does).
| Language | Package | Needs |
|---|---|---|
| Python | phoenixperps | Python 3.10+ |
| TypeScript | @phoenixperps/sdk | Node 22+ |
| Go | github.com/phoenixperps/sdk/go | Go 1.23+ |
| C# | PhoenixPerps.Sdk | .NET 8+ |
| Java | com.phoenixperpsfunding:phoenixperps-sdk | Java 17+ |
| Rust | phoenixperps | Rust 1.85+ |
| PHP | phoenixperps/sdk | PHP 8.2+ |
Each page has its install line, the client's options, the calls, lists, errors, streams and helpers. Every SDK is published from github.com/phoenixperps/sdk: nothing to sign up for. The Quickstart installs yours, and the cookbook has twelve complete programs in every language.