Choosing your product
Use the tabs at the top of the page to move between:- Home — a landing page with quick links into every part of the docs.
- Get Started — shared setup that applies to both products: account setup, the Go SDK, environments, API keys and authorization, and deposits/withdrawals.
- Perpetuals — everything specific to perpetuals trading.
- Options — everything specific to options trading.
1. Guides
What you’ll find:- Product overviews, concepts, and best practices
- Step-by-step guides for common workflows
- In-depth explanations of trading, market data, and account management
- If you’re new to Rails or want to understand a product’s capabilities and workflows
- When you need conceptual or practical guidance before diving into the API details
2. Formulas
What you’ll find:- The exact math behind the platform — pricing, Greeks, margin, fees, funding, and position metrics
- Definitions of every input and how values are derived
- When you need to reproduce prices, margin, or PnL exactly
- To understand the calculations referenced from the Guides
3. Go SDK
What you’ll find:- A quickstart that places and cancels an order with the Go SDK, and pages on orders and on streams for each product
- The SDK’s configuration, pacing and hooks, and its errors and retries
- When you are integrating in Go and want token refresh, reconnects, and sessions handled for you
- To see a working program before reading the API reference behind it
4. WebSocket API Reference
What you’ll find:- Real-time streaming API documentation for our WebSocket API
- Message formats, subscription models, and event payloads
- Usage patterns for order books, trades, positions, and account events
- For building real-time trading, monitoring, or data streaming applications
- To understand message flows and event-driven integration
5. HTTP API Reference
What you’ll find:- Complete, structured reference for all HTTP API endpoints
- Request/response formats, parameters, and example payloads
- Linked to OpenAPI schemas for precise integration
- When building or debugging HTTP API integrations
- To look up endpoint details, required fields, and response structures
Changelog & Error Reference
What you’ll find:- Changelog — a chronological log of all API and platform changes, including new features, breaking changes, and deprecations.
- Error Reference — error codes and slugs returned across the APIs.
- To stay up-to-date with the latest updates and plan for upcoming changes.
- To look up the meaning of an error returned by a request.
Tips for Navigating
- Use the tabs at the top of the page to switch between Home, Get Started, and each product.
- Use the left navigation bar to jump between sections and pages.
- Each section is organized by topic and use case for easy discovery.
- Search is available for quick access to any endpoint, guide, or topic.
Ready to get started? Explore the tabs above, or return to this guide anytime from the Get Started section.